summaryrefslogtreecommitdiffhomepage
path: root/svr-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-07-12 17:00:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-07-12 17:00:30 +0000
commitf90f64b5c1a974a77a4bdf4a7ccb3f4d359b9127 (patch)
tree97dd4a89ac38394c339f417e67e7b5df4249130d /svr-auth.c
parent96bda2af8ee55bce78b8c6ab2262ac82cec6a504 (diff)
fill_passwd() doesn't have a return value
--HG-- extra : convert_revision : ee6ec7346a5b4e7330f462ec9e4815f73038e8d0
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-auth.c b/svr-auth.c
index 7fb6568..88909f3 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -203,7 +203,7 @@ out:
m_free(methodname);
}
-static int fill_passwd(const char* username) {
+static void fill_passwd(const char* username) {
struct passwd *pw = NULL;
if (ses.authstate.pw_name)
m_free(ses.authstate.pw_name);