fill_passwd() doesn't have a return value

--HG--
extra : convert_revision : ee6ec7346a5b4e7330f462ec9e4815f73038e8d0
This commit is contained in:
Matt Johnston 2008-07-12 17:00:30 +00:00
parent 96bda2af8e
commit f90f64b5c1

View File

@ -203,7 +203,7 @@ out:
m_free(methodname); m_free(methodname);
} }
static int fill_passwd(const char* username) { static void fill_passwd(const char* username) {
struct passwd *pw = NULL; struct passwd *pw = NULL;
if (ses.authstate.pw_name) if (ses.authstate.pw_name)
m_free(ses.authstate.pw_name); m_free(ses.authstate.pw_name);