HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import Upstream version 0.66.4
[hcoop/debian/courier-authlib.git]
/
authmysql.c
diff --git
a/authmysql.c
b/authmysql.c
index
02ace85
..
d7e6269
100644
(file)
--- a/
authmysql.c
+++ b/
authmysql.c
@@
-16,12
+16,11
@@
#include "auth.h"
#include "authmysql.h"
#include "auth.h"
#include "authmysql.h"
-#include "authstaticlist.h"
+#include "
courier
authstaticlist.h"
#include "courierauthdebug.h"
#include "libhmac/hmac.h"
#include "cramlib.h"
#include "courierauthdebug.h"
#include "libhmac/hmac.h"
#include "cramlib.h"
-static const char rcsid[]="$Id: authmysql.c,v 1.24 2008/07/10 02:43:55 mrsam Exp $";
extern void auth_mysql_enumerate( void(*cb_func)(const char *name,
uid_t uid,
extern void auth_mysql_enumerate( void(*cb_func)(const char *name,
uid_t uid,
@@
-53,7
+52,7
@@
static int auth_mysql_login(const char *service, char *authdata,
if (!authinfo) /* Fatal error - such as MySQL being down */
{
errno=EACCES;
if (!authinfo) /* Fatal error - such as MySQL being down */
{
errno=EACCES;
- return (1);
+ return (
-
1);
}
if (authinfo->cryptpw)
}
if (authinfo->cryptpw)