no spaces inside syslog idents
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4317 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ struct log *newlogger(const char *identity, int facility)
|
||||
{
|
||||
const int facilities[] = { LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7 };
|
||||
facility &= 7;
|
||||
s_sprintfd(id)("AssaultCube %s", identity);
|
||||
s_sprintfd(id)("AssaultCube%s", identity);
|
||||
return new posixsyslog(facilities[facility], id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user