Imported Upstream version 1.7.6p1
[debian/sudo] / auth / afs.c
index 2b9d7b9bf4a0dc61ccfc763cc505cc8c62c8ec97..393605a900d99222b4bacfc0f9a40e7ba7796e96 100644 (file)
 #endif /* HAVE_UNISTD_H */
 #include <pwd.h>
 
-#include "sudo.h"
-#include "sudo_auth.h"
-
 #include <afs/stds.h>
 #include <afs/kautils.h>
 
+#include "sudo.h"
+#include "sudo_auth.h"
+
 int
 afs_verify(pw, pass, auth)
     struct passwd *pw;
@@ -67,7 +67,7 @@ afs_verify(pw, pass, auth)
                         0,                     /* lifetime */
                         &afs_token,            /* token */
                         0) == 0)               /* new */
-       return(AUTH_SUCCESS);
+       return AUTH_SUCCESS;
 
     /* Fall back on old method XXX - needed? */
     setpag();
@@ -80,7 +80,7 @@ afs_verify(pw, pass, auth)
                                   NULL,        /* expiration ptr (unused) */
                                   0,           /* spare */
                                   NULL) == 0)  /* reason */
-       return(AUTH_SUCCESS);
+       return AUTH_SUCCESS;
 
-    return(AUTH_FAILURE);
+    return AUTH_FAILURE;
 }