applying fix for:

0000143: sysklogd remote logging adds a space between facility and tag
This commit is contained in:
Paul Fox 2005-07-20 18:02:11 +00:00
parent 18433aadf6
commit 27cbffddd8

View File

@ -441,7 +441,7 @@ static void logMessage(int pri, char *msg)
/* if we have a valid socket, send the message */
if (-1 != remotefd) {
now = 1;
snprintf(line, sizeof(line), "<%d> %s", pri, msg);
snprintf(line, sizeof(line), "<%d>%s", pri, msg);
retry:
/* send message to remote logger */