aboutsummaryrefslogtreecommitdiff
path: root/libmilter/sm_gethost.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmilter/sm_gethost.c')
-rw-r--r--libmilter/sm_gethost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmilter/sm_gethost.c b/libmilter/sm_gethost.c
index 262edb6c541c..9bbf9b78b848 100644
--- a/libmilter/sm_gethost.c
+++ b/libmilter/sm_gethost.c
@@ -149,9 +149,9 @@ mi_gethostbyname(name, family)
/* the function is supposed to return only the requested family */
if (h != NULL && h->h_addrtype != family)
{
-# if NETINET6
+#if NETINET6
freehostent(h);
-# endif
+#endif
h = NULL;
SM_SET_H_ERRNO(NO_DATA);
}