diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c-json-stdout/c-json-stdout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c-json-stdout/c-json-stdout.c b/examples/c-json-stdout/c-json-stdout.c index 183d072ee..83af9d12d 100644 --- a/examples/c-json-stdout/c-json-stdout.c +++ b/examples/c-json-stdout/c-json-stdout.c @@ -61,7 +61,7 @@ int main(void) } buf_used += bytes_read; - while (json_bytes == 0 && buf_used >= nDPIsrvd_JSON_BYTES + 1) + while (buf_used >= nDPIsrvd_JSON_BYTES + 1) { if (buf[nDPIsrvd_JSON_BYTES] != '{') { |