X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fpam.c;h=d2a8a54e5d66eb15f5edfb573720c83f797d5dee;hp=ed56497d77276f580d4607c9755348dfd8ae514f;hb=6171beb7ab5dc0586581660852576f437470df63;hpb=15dfdaac823c5927b096b2980753a6198a6a7741 diff --git a/src/ngircd/pam.c b/src/ngircd/pam.c index ed56497d..d2a8a54e 100644 --- a/src/ngircd/pam.c +++ b/src/ngircd/pam.c @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2010 Alexander Barton (alex@barton.de). + * Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,26 +18,21 @@ * PAM User Authentication */ -#include "imp.h" #include - -#include "defines.h" -#include "log.h" -#include "conn.h" -#include "client.h" - #include #include - #ifdef HAVE_SECURITY_PAM_APPL_H -#include +# include #endif - #ifdef HAVE_PAM_PAM_APPL_H -#include +# include #endif -#include "exp.h" +#include "defines.h" +#include "log.h" +#include "conn.h" +#include "client.h" + #include "pam.h" static char *password; @@ -87,7 +82,7 @@ static struct pam_conv conv = { }; /** - * Authenticate a connectiong client using PAM. + * Authenticate a connecting client using PAM. * @param Client The client to authenticate. * @return true when authentication succeeded, false otherwise. */