Fix: Remove negative comparison to unsigned value
[babeltrace.git] / formats / lttng-live / lttng-live-comm.c
index fee43c2bed51a8c647d8138f696117df5361fb42..5a7d067e4cd55127c539b91b5bc169cebd8d772e 100644 (file)
@@ -706,8 +706,8 @@ retry:
                goto error;
        }
 
-       if (len <= 0) {
-               goto end;
+       if (len == 0) {
+               goto error;
        }
 
        if (len > stream->mmap_size) {
This page took 0.045828 seconds and 4 git commands to generate.