mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
applying fix for:
0000143: sysklogd remote logging adds a space between facility and tag
This commit is contained in:
parent
18433aadf6
commit
27cbffddd8
@ -441,7 +441,7 @@ static void logMessage(int pri, char *msg)
|
|||||||
/* if we have a valid socket, send the message */
|
/* if we have a valid socket, send the message */
|
||||||
if (-1 != remotefd) {
|
if (-1 != remotefd) {
|
||||||
now = 1;
|
now = 1;
|
||||||
snprintf(line, sizeof(line), "<%d> %s", pri, msg);
|
snprintf(line, sizeof(line), "<%d>%s", pri, msg);
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
/* send message to remote logger */
|
/* send message to remote logger */
|
||||||
|
Loading…
Reference in New Issue
Block a user