]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/pam.c
Add Doxygen @file documentation to each source and header file
[ngircd-alex.git] / src / ngircd / pam.c
index e6d25bc5c1d438481cfd1c024691b69141e2f92d..b28e866f42324d4b497f998ad34a8021205233c3 100644 (file)
@@ -7,14 +7,17 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * PAM User Authentification
  */
 
 #include "portab.h"
 
 #ifdef PAM
 
  */
 
 #include "portab.h"
 
 #ifdef PAM
 
+/**
+ * @file
+ * PAM User Authentification
+ */
+
 #include "imp.h"
 #include <assert.h>
 
 #include "imp.h"
 #include <assert.h>
 
@@ -111,7 +114,7 @@ PAM_Authenticate(CLIENT *Client) {
 
        pam_set_item(pam, PAM_RUSER, Client_User(Client));
        pam_set_item(pam, PAM_RHOST, Client_Hostname(Client));
 
        pam_set_item(pam, PAM_RUSER, Client_User(Client));
        pam_set_item(pam, PAM_RHOST, Client_Hostname(Client));
-#ifdef HAVE_PAM_FAIL_DELAY
+#if defined(HAVE_PAM_FAIL_DELAY) && !defined(NO_PAM_FAIL_DELAY)
        pam_fail_delay(pam, 0);
 #endif
 
        pam_fail_delay(pam, 0);
 #endif