--- ab.c.orig 2008-06-10 22:07:15.000000000 +0200 +++ ab.c-whitespace-1 2008-07-07 15:45:44.000000000 +0200 @@ -1153,12 +1153,12 @@ } if (windowsize != 0) { - rv = apr_socket_opt_set(c->aprsock, APR_SO_SNDBUF, + rv = apr_socket_opt_set(c->aprsock, APR_SO_SNDBUF, windowsize); if (rv != APR_SUCCESS && rv != APR_ENOTIMPL) { apr_err("socket send buffer", rv); } - rv = apr_socket_opt_set(c->aprsock, APR_SO_RCVBUF, + rv = apr_socket_opt_set(c->aprsock, APR_SO_RCVBUF, windowsize); if (rv != APR_SUCCESS && rv != APR_ENOTIMPL) { apr_err("socket receive buffer", rv); @@ -1472,8 +1472,8 @@ /* The response may not have a Content-Length header */ if (!cl) { c->keepalive = 1; - c->length = 0; - } + c->length = 0; + } } c->bread += c->cbx - (s + l - c->cbuff) + r - tocopy; totalbread += c->bread; @@ -1660,7 +1660,7 @@ start = lasttime = apr_time_now(); stoptime = tlimit ? (start + apr_time_from_sec(tlimit)) : AB_MAX; -#ifdef SIGINT +#ifdef SIGINT /* Output the results if the user terminates the run early. */ apr_signal(SIGINT, output_results); #endif @@ -1777,7 +1777,7 @@ } } } while (lasttime < stoptime && done < requests); - + if (heartbeatres) fprintf(stderr, "Finished %d requests\n", done); else