From: wessels <> Date: Tue, 6 Jan 1998 02:53:29 +0000 (+0000) Subject: non-gcc complains about X-Git-Tag: SQUID_3_0_PRE1~4259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0efb98cdd5d21b03129a92c3b4e9bd57f58054;p=thirdparty%2Fsquid.git non-gcc complains about "client_side.c", line 1221: void function cannot return value --- diff --git a/src/client_side.cc b/src/client_side.cc index e3edd52bf2..0ad8b012ed 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.189 1998/01/04 06:57:27 wessels Exp $ + * $Id: client_side.cc,v 1.190 1998/01/05 19:53:29 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1218,9 +1218,11 @@ clientProcessRequest(clientHttpRequest * http) url); if (r->method == METHOD_CONNECT) { http->log_type = LOG_TCP_MISS; - return sslStart(fd, url, r, &http->out.size); + sslStart(fd, url, r, &http->out.size); + return; } else if (r->method == METHOD_PURGE) { - return clientPurgeRequest(http); + clientPurgeRequest(http); + return; } else if (r->method == METHOD_TRACE) { if (r->max_forwards == 0) { http->entry = clientCreateStoreEntry(http, r->method, 0); @@ -1243,10 +1245,12 @@ clientProcessRequest(clientHttpRequest * http) (void) 0; /* fallthrough */ } else if (r->method == METHOD_POST) { http->log_type = LOG_TCP_MISS; - return passStart(fd, url, r, &http->out.size); + passStart(fd, url, r, &http->out.size); + return; } else if (r->method == METHOD_PUT) { http->log_type = LOG_TCP_MISS; - return passStart(fd, url, r, &http->out.size); + passStart(fd, url, r, &http->out.size); + return; } http->log_type = clientProcessRequest2(http); debug(12, 4) ("clientProcessRequest: %s for '%s'\n",