]> granicus.if.org Git - apache/commitdiff
fix uninitialized variable
authorRoy T. Fielding <fielding@apache.org>
Sat, 10 May 2008 06:44:44 +0000 (06:44 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sat, 10 May 2008 06:44:44 +0000 (06:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@655017 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_form.c

index 55114e7ab07cde00d9768be4562f89a241627d90..d8228e7cca7b823fc6d74b3e53420c5adeeaecf2 100644 (file)
@@ -868,6 +868,9 @@ static int authenticate_form_authn(request_rec * r)
         res = get_session_auth(r, &sent_user, &sent_pw, &sent_hash);
 
     }
+    else {
+        res = APR_SUCCESS;
+    }
 
     /* first test whether the site passphrase matches */
     if (APR_SUCCESS == res && sent_user && sent_hash && sent_pw) {