comparison 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
comparison
equal deleted inserted replaced
473:170329dc8ce5 474:f33b0898aaa6
201 m_free(username); 201 m_free(username);
202 m_free(servicename); 202 m_free(servicename);
203 m_free(methodname); 203 m_free(methodname);
204 } 204 }
205 205
206 static int fill_passwd(const char* username) { 206 static void fill_passwd(const char* username) {
207 struct passwd *pw = NULL; 207 struct passwd *pw = NULL;
208 if (ses.authstate.pw_name) 208 if (ses.authstate.pw_name)
209 m_free(ses.authstate.pw_name); 209 m_free(ses.authstate.pw_name);
210 if (ses.authstate.pw_dir) 210 if (ses.authstate.pw_dir)
211 m_free(ses.authstate.pw_dir); 211 m_free(ses.authstate.pw_dir);