Discussion:
svn commit: r1629467 - /httpd/httpd/trunk/modules/echo/mod_echo.c
j***@apache.org
2014-10-05 05:48:36 UTC
Permalink
Author: jailletc36
Date: Sun Oct 5 05:48:35 2014
New Revision: 1629467

URL: http://svn.apache.org/r1629467
Log:
Style

Modified:
httpd/httpd/trunk/modules/echo/mod_echo.c

Modified: httpd/httpd/trunk/modules/echo/mod_echo.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/echo/mod_echo.c?rev=1629467&r1=1629466&r2=1629467&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/echo/mod_echo.c (original)
+++ httpd/httpd/trunk/modules/echo/mod_echo.c Sun Oct 5 05:48:35 2014
@@ -82,7 +82,7 @@ static apr_status_t brigade_peek(apr_buc
len = pos - str;
if (len > bufflen - readbytes)
len = bufflen - readbytes;
- memcpy (buff + readbytes, str, len);
+ memcpy(buff + readbytes, str, len);
readbytes += len;
buff[readbytes] = '\0';

@@ -151,7 +151,7 @@ static int process_echo_connection(conn_
if (((rv = ap_get_brigade(c->input_filters, bb, AP_MODE_GETLINE,
APR_BLOCK_READ, 0)) != APR_SUCCESS)) {
apr_brigade_cleanup(bb);
- if (!APR_STATUS_IS_EOF(rv) && ! APR_STATUS_IS_TIMEUP(rv))
+ if (!APR_STATUS_IS_EOF(rv) && !APR_STATUS_IS_TIMEUP(rv))
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server, APLOGNO(01611)
"ProtocolEcho: Failure reading from %s",
c->client_ip);

Loading...