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:
ac_stef
2009-04-04 22:43:08 +00:00
parent f41cd6eef0
commit fab474de62
+1 -1
View File
@@ -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);
}