From: Fabian Keil Date: Sun, 30 Dec 2018 13:36:07 +0000 (+0100) Subject: Fix misplaced parentheses X-Git-Tag: v_3_0_28~17 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/quickstart.html?a=commitdiff_plain;h=00a5e3edd7b265a0df7eeef1c76fab3bdceb992c;p=privoxy.git Fix misplaced parentheses ... and remove parentheses that aren't needed. Regression introduced in f105bf576b. Reported by David Binderman. --- diff --git a/jcc.c b/jcc.c index 602e18e5..34327f28 100644 --- a/jcc.c +++ b/jcc.c @@ -2522,9 +2522,9 @@ static void handle_established_connection(struct client_state *csp) hdrlen = strlen(hdr); if (write_socket_delayed(csp->cfd, hdr, hdrlen, write_delay) - || ((flushed = flush_iob(csp->cfd, csp->iob, write_delay) < 0) - || (write_socket_delayed(csp->cfd, csp->receive_buffer, - (size_t)len, write_delay)))) + || ((flushed = flush_iob(csp->cfd, csp->iob, write_delay)) < 0) + || write_socket_delayed(csp->cfd, csp->receive_buffer, + (size_t)len, write_delay)) { log_error(LOG_LEVEL_CONNECT, "Flush header and buffers to client failed: %E");