summaryrefslogtreecommitdiff
path: root/src/qmail-authuser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-authuser.c')
-rw-r--r--src/qmail-authuser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmail-authuser.c b/src/qmail-authuser.c
index ff0891b..dea5647 100644
--- a/src/qmail-authuser.c
+++ b/src/qmail-authuser.c
@@ -78,7 +78,7 @@ stralloc shell = {0};
cram-md5/apop: (1,5)
**/
-void exit(int fail)
+static void exit(int fail)
{
int i;
@@ -150,7 +150,7 @@ int auth_unix(char *user,char* response)
{
char *encrypted = 0;
char *stored = 0;
- int r = -1;
+ int r = 111;
pw = getpwnam(user);
if (pw) {