]> granicus.if.org Git - apache/commitdiff
Style
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 5 Oct 2014 05:48:35 +0000 (05:48 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 5 Oct 2014 05:48:35 +0000 (05:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629467 13f79535-47bb-0310-9956-ffa450edef68

modules/echo/mod_echo.c

index 336f90f3fa534285109c9fd8dca489e75020a7bc..8dd0f700e5eca05cad8b11948d624f15ffec1092 100644 (file)
@@ -82,7 +82,7 @@ static apr_status_t brigade_peek(apr_bucket_brigade *bbIn,
             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_rec *c)
         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);