Skip to content

Commit b852195

Browse files
committed
Merge pull request #35 from toogle/bugfix/compilation-error
Fix compilation error
2 parents 0c3e41f + e21c14f commit b852195

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tp_transcode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,9 @@ yajl_json2tp_complete(void *ctx, size_t *complete_msg_size)
761761
return TP_TRANSCODE_OK;
762762
}
763763

764-
if (s_ctx->tc->errmsg == NULL)
764+
if (s_ctx->tc->errmsg == NULL) {
765765
say_invalid_json(s_ctx);
766+
}
766767

767768
return TP_TRANSCODE_ERROR;
768769
}

0 commit comments

Comments
 (0)