diff options
-rw-r--r-- | support/export/hostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/hostname.c b/support/export/hostname.c index 4daabe9..94e98a5 100644 --- a/support/export/hostname.c +++ b/support/export/hostname.c @@ -69,7 +69,7 @@ host_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) memset(buf, 0, buflen); - if (sin->sin_family != AF_INET) + if (sin->sin_family != AF_INET) { (void)strncpy(buf, "bad family", buflen - 1); return buf; } |