summaryrefslogtreecommitdiff
path: root/modules/echo
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2011-09-23 13:39:32 +0000
committerJim Jagielski <jim@apache.org>2011-09-23 13:39:32 +0000
commit427c85bd2353796cbd8253854dd2fb2ccfbf8bdc (patch)
treef1decb7874c49c67162ebdbf1db997a92e0b5834 /modules/echo
parent103f776c25b7fdd51da4f98643b8dcdb09efdce6 (diff)
downloadhttpd-427c85bd2353796cbd8253854dd2fb2ccfbf8bdc.tar.gz
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/echo')
-rw-r--r--modules/echo/mod_echo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/echo/mod_echo.c b/modules/echo/mod_echo.c
index c595496b47..161ceed651 100644
--- a/modules/echo/mod_echo.c
+++ b/modules/echo/mod_echo.c
@@ -92,7 +92,7 @@ static apr_status_t brigade_peek(apr_bucket_brigade *bbIn,
}
-static int update_echo_child_status(ap_sb_handle_t *sbh,
+static int update_echo_child_status(ap_sb_handle_t *sbh,
int status, conn_rec *c,
apr_bucket_brigade *last_echoed)
{
@@ -108,7 +108,7 @@ static int update_echo_child_status(ap_sb_handle_t *sbh,
/* initial pass only, please - in the name of efficiency */
if (c) {
- apr_cpystrn(ws->client,
+ apr_cpystrn(ws->client,
ap_get_remote_host(c, c->base_server->lookup_defaults,
REMOTE_NOLOOKUP, NULL),
sizeof(ws->client));
@@ -120,7 +120,7 @@ static int update_echo_child_status(ap_sb_handle_t *sbh,
/* each subsequent WRITE pass, let's update what we echoed */
if (last_echoed) {
- brigade_peek(last_echoed, ws->request + sizeof("ECHO ") - 1,
+ brigade_peek(last_echoed, ws->request + sizeof("ECHO ") - 1,
sizeof(ws->request) - sizeof("ECHO ") + 1);
}
@@ -138,7 +138,7 @@ static int process_echo_connection(conn_rec *c)
if (!pConfig->bEnabled) {
return DECLINED;
}
-
+
ap_time_process_request(c->sbh, START_PREQUEST);
update_echo_child_status(c->sbh, SERVER_BUSY_READ, c, NULL);
@@ -182,7 +182,7 @@ static int process_echo_connection(conn_rec *c)
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
"ProtocolEcho: Failure writing to %s",
c->remote_ip);
- break;
+ break;
}
apr_brigade_cleanup(bb);