From e21c14f30cb1078b3d348dce395ac37d7d0f972b Mon Sep 17 00:00:00 2001 From: toogle Date: Fri, 29 Apr 2016 19:12:33 +0300 Subject: [PATCH] fix compilation error --- src/tp_transcode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tp_transcode.c b/src/tp_transcode.c index 462c9c7..3797489 100644 --- a/src/tp_transcode.c +++ b/src/tp_transcode.c @@ -761,8 +761,9 @@ yajl_json2tp_complete(void *ctx, size_t *complete_msg_size) return TP_TRANSCODE_OK; } - if (s_ctx->tc->errmsg == NULL) + if (s_ctx->tc->errmsg == NULL) { say_invalid_json(s_ctx); + } return TP_TRANSCODE_ERROR; }