summaryrefslogtreecommitdiff
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
commit2e3c8f4edf240e8b936475c564269b476d2f00fb (patch)
tree97dd4a89ac38394c339f417e67e7b5df4249130d
parente0fc2dcad736f47e2a2b763061dc02503ad43059 (diff)
downloaddropbear-2e3c8f4edf240e8b936475c564269b476d2f00fb.tar.gz
fill_passwd() doesn't have a return value
-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);