aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-12-04 16:50:40 -0500
committerFranklin Wei <git@fwei.tk>2015-12-04 16:50:40 -0500
commitbbeb7cda3071c7a872ee9c5127e02983b25efda0 (patch)
tree4fe11eb7627b150ec47b2652f2451c47ba79096a /src/auth.c
parentb7541dfc74d2d549210aa0ad73e0536ca4818909 (diff)
downloadnetcosm-0.1.zip
netcosm-0.1.tar.gz
netcosm-0.1.tar.bz2
netcosm-0.1.tar.xz
fix bugs0.1
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth.c b/src/auth.c
index 53ae4f6..f47aee8 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -178,6 +178,8 @@ struct authinfo_t auth_check(const char *name2, const char *pass2)
flock(fileno(f), LOCK_SH);
struct authinfo_t ret;
+ ret.success = false;
+ ret.authlevel = -1;
while(1)
{