Fix incorrect usage of log_message()

This commit is contained in:
Guan-Zhong Huang 2012-07-22 01:25:40 +08:00
parent 297fdaf1c6
commit 059deae6f3

View File

@ -76,7 +76,7 @@ auth_userpass(char *user, char *pass, int *errorcode)
if (1 == auth_account_disabled(stp)) if (1 == auth_account_disabled(stp))
{ {
log_message(&(g_cfg->log), LOG_LEVEL_INFO, "account %s is disabled", user); log_message(LOG_LEVEL_INFO, "account %s is disabled", user);
return 0; return 0;
} }