]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix 'error: continue statement not within a loop'
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 29 Aug 2012 14:35:29 +0000 (08:35 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 29 Aug 2012 14:35:29 +0000 (08:35 -0600)
src/http.cc

index 34b44a1b258f05464aec32b9b043d88162568662..f428918a234065a06a003efe4eafcb20a1639186 100644 (file)
@@ -1586,7 +1586,7 @@ httpFixupAuthentication(HttpRequest * request, const HttpHeader * hdr_in, HttpHe
     }
     // if no external user credentials are available to fake authentication with PASS acts like PASSTHRU
     if (strcmp(request->peer_login, "PASS") == 0)
-        continue;
+        return;
 
     /* Kerberos login to peer */
 #if HAVE_AUTH_MODULE_NEGOTIATE && HAVE_KRB5 && HAVE_GSSAPI