From ea0efb98cdd5d21b03129a92c3b4e9bd57f58054 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 6 Jan 1998 02:53:29 +0000 Subject: [PATCH] non-gcc complains about "client_side.c", line 1221: void function cannot return value --- src/client_side.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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", -- 2.47.2