]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
non-gcc complains about
authorwessels <>
Tue, 6 Jan 1998 02:53:29 +0000 (02:53 +0000)
committerwessels <>
Tue, 6 Jan 1998 02:53:29 +0000 (02:53 +0000)
"client_side.c", line 1221: void function cannot return value

src/client_side.cc

index e3edd52bf29eefe3063cd37acf3085f1af9e8896..0ad8b012ed68775faffa53a2f2ac67e0e6c63317 100644 (file)
@@ -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",