From 8bc78787a99efdf4c64032d7fe55905ff995cd98 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 5 Dec 2015 14:22:19 -0500 Subject: production flags --- src/auth.c | 1 + src/netcosm.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/auth.c b/src/auth.c index e89c0d0..b54d0a4 100644 --- a/src/auth.c +++ b/src/auth.c @@ -250,6 +250,7 @@ struct authinfo_t auth_check(const char *name2, const char *pass2) struct authinfo_t ret; ret.success = false; ret.authlevel = PRIV_NONE; + ret.user = NULL; while(1) { diff --git a/src/netcosm.h b/src/netcosm.h index c8566da..be6d1a2 100644 --- a/src/netcosm.h +++ b/src/netcosm.h @@ -31,7 +31,7 @@ struct authinfo_t { bool success; const char *user; - int authlevel; /* 0 = highest */ + int authlevel; }; void client_main(int fd, struct sockaddr_in *addr, int); -- cgit v1.1