aboutsummaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-09 17:05:21 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-09 17:05:21 +0100
commitd6dad2cee4307f6b190a96dd48942645060919cc (patch)
tree5819c2626b6361dd007df884255ab713437939dd /src/log.cpp
parent5b75e5fdccc531f7b0e3dcd636fa1ff3500bb071 (diff)
downloadPROJ-d6dad2cee4307f6b190a96dd48942645060919cc.tar.gz
PROJ-d6dad2cee4307f6b190a96dd48942645060919cc.zip
Allocate projCtx_t as a C++ object
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 4c15772b..3cc10cfd 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -74,7 +74,7 @@ void pj_vlog( projCtx ctx, int level, const char *fmt, va_list args )
/* we should use vsnprintf where available once we add configure detect.*/
vsprintf( msg_buf, fmt, args );
- ctx->logger( ctx->app_data, level, msg_buf );
+ ctx->logger( ctx->logger_app_data, level, msg_buf );
free( msg_buf );
}