summaryrefslogtreecommitdiff
path: root/plugins/mmjsonparse/mmjsonparse.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-05-16 14:51:51 +0200
committerMichael Biebl <biebl@debian.org>2014-05-16 14:51:51 +0200
commitf1040389ccb2430b9ab2ba3209aa28a62565b721 (patch)
treec6bf609292b6f3a80754c2d01cc8855a36ac7a37 /plugins/mmjsonparse/mmjsonparse.c
parent9374a46543e9c43c009f80def8c3b2506b0b377e (diff)
downloadrsyslog-upstream/8.2.1.tar.gz
Imported Upstream version 8.2.1upstream/8.2.1
Diffstat (limited to 'plugins/mmjsonparse/mmjsonparse.c')
-rw-r--r--plugins/mmjsonparse/mmjsonparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mmjsonparse/mmjsonparse.c b/plugins/mmjsonparse/mmjsonparse.c
index 9c0ab88..9e9f3d9 100644
--- a/plugins/mmjsonparse/mmjsonparse.c
+++ b/plugins/mmjsonparse/mmjsonparse.c
@@ -160,7 +160,7 @@ processJSON(wrkrInstanceData_t *pWrkrData, msg_t *pMsg, char *buf, size_t lenBuf
err = pWrkrData->tokener->err;
if(err != json_tokener_continue)
- errMsg = json_tokener_errors[err];
+ errMsg = json_tokener_error_desc(err);
else
errMsg = "Unterminated input";
} else if((size_t)pWrkrData->tokener->char_offset < lenBuf)