warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3497 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ struct posixsyslog : log
|
||||
s_sprintfdv(sf, msg);
|
||||
filtertext(sf, sf, 2);
|
||||
int l = (level==log::info ? LOG_INFO : ( level==log::warning ? LOG_WARNING : LOG_ERR));
|
||||
syslog(l, sf);
|
||||
syslog(l, "%s", sf);
|
||||
if(console)
|
||||
{
|
||||
puts(sf);
|
||||
|
||||
Reference in New Issue
Block a user