diff --git a/confluent_vtbufferd/vtbufferd.c b/confluent_vtbufferd/vtbufferd.c index 7aeb2abe..1f700c01 100644 --- a/confluent_vtbufferd/vtbufferd.c +++ b/confluent_vtbufferd/vtbufferd.c @@ -200,7 +200,7 @@ int main(int argc, char* argv[]) { if (outvt != NULL) dump_vt(outvt); length = write(1, "\x00", 1); - if (idx < 0) + if (length < 0) continue; } }