Whoops; fix compilation in bench.c

This commit is contained in:
Nick Mathewson 2014-01-08 11:58:50 -05:00
parent ff7f739685
commit 544cf8888a

View File

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