diff svr-auth.c @ 474:f33b0898aaa6

fill_passwd() doesn't have a return value
author Matt Johnston <matt@ucc.asn.au>
date Sat, 12 Jul 2008 17:00:30 +0000
parents 4317be8b7cf9
children 738313e73b1c
line wrap: on
line diff
--- a/svr-auth.c	Thu Mar 27 13:34:34 2008 +0000
+++ b/svr-auth.c	Sat Jul 12 17:00:30 2008 +0000
@@ -203,7 +203,7 @@
 	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);