diff options
Diffstat (limited to 'src/sh_xfer_syslog.c')
-rw-r--r-- | src/sh_xfer_syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sh_xfer_syslog.c b/src/sh_xfer_syslog.c index ab516f5..8013e96 100644 --- a/src/sh_xfer_syslog.c +++ b/src/sh_xfer_syslog.c @@ -434,7 +434,7 @@ int sh_xfer_create_syslog_socket (int callerFlag) } #else - memset (&hints, '\0', sizeof (hints)); + memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; hints.ai_socktype = SOCK_DGRAM; if (getaddrinfo (NULL, "syslog", &hints, &ai) != 0) |