]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tidy comments in auth.c
authorMatthew Newton <mcn4@leicester.ac.uk>
Thu, 27 Sep 2012 22:46:00 +0000 (23:46 +0100)
committerMatthew Newton <mcn4@leicester.ac.uk>
Thu, 27 Sep 2012 23:06:31 +0000 (00:06 +0100)
src/main/auth.c

index f1bfdd14446457d39ebe1c6c93998cc999171d68..f55e9623fb2e601a22b63368bf556d9bc554c1c8 100644 (file)
@@ -195,16 +195,19 @@ static int rad_check_password(REQUEST *request)
                }
        }
 
+       /*
+        *      Warn if more than one Auth-Type was found, because only the last
+        *      one found will actually be used.
+        */
        if (( auth_type_count > 1) && (debug_flag)) {
                radlog_request(L_ERR, 0, request, "Warning:  Found %d auth-types on request for user '%s'",
                        auth_type_count, request->username->vp_strvalue);
        }
 
        /*
-        *      This means we have a proxy reply or an accept
-        *  and it wasn't rejected in the above loop.  So
-        *  that means it is accepted and we do no further
-        *  authentication
+        *      This means we have a proxy reply or an accept and it wasn't
+        *      rejected in the above loop. So that means it is accepted and we
+        *      do no further authentication.
         */
        if ((auth_type == PW_AUTHTYPE_ACCEPT)
 #ifdef WITH_PROXY