1
0
forked from bip/bip

Fix bad error message when log_format does not contain %u

This commit is contained in:
Arnaud Cornet 2007-12-09 14:23:00 +01:00
parent 91fa881f94
commit 73c4a8f1f1

View File

@ -785,8 +785,8 @@ static int validate_config(bip_t *bip)
}
}
if (strstr(conf_log_format, "\%u") == NULL)
mylog(LOG_WARN, "log_format doesn't contain \%u, all users'"
if (strstr(conf_log_format, "%u") == NULL)
mylog(LOG_WARN, "log_format does not contain %%u, all users'"
" logs will be mixed !");
return r;
}