]> granicus.if.org Git - libevent/commitdiff
Whoops; fix compilation in bench.c
authorNick Mathewson <nickm@torproject.org>
Wed, 8 Jan 2014 16:58:50 +0000 (11:58 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 8 Jan 2014 16:58:50 +0000 (11:58 -0500)
test/bench.c

index b4f78209823c36b01320cc696d5464c4fae6a5a8..ef781ddfdabcab24aca1c06abf04b92566c20d5e 100644 (file)
@@ -77,13 +77,13 @@ read_cb(evutil_socket_t fd, short which, void *arg)
        if (n >= 0)
                count += n;
        else
-               failures++
+               failures++;
        if (writes) {
                if (widx >= num_pipes)
                        widx -= num_pipes;
                n = send(pipes[2 * widx + 1], "e", 1, 0);
                if (n != 1)
-                       failures++
+                       failures++;
                writes--;
                fired++;
        }