aboutsummaryrefslogtreecommitdiffstats
path: root/epan/resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/resolv.c')
-rw-r--r--epan/resolv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/resolv.c b/epan/resolv.c
index 15795c7002..aa071157cd 100644
--- a/epan/resolv.c
+++ b/epan/resolv.c
@@ -1,7 +1,7 @@
/* resolv.c
* Routines for network object lookup
*
- * $Id: resolv.c,v 1.35 2003/08/18 18:40:10 guy Exp $
+ * $Id: resolv.c,v 1.36 2003/08/26 20:21:08 gerald Exp $
*
* Laurent Deniel <laurent.deniel@free.fr>
*
@@ -344,7 +344,7 @@ static guchar *host_name_lookup(guint addr, gboolean *found)
ip_to_str_buf((guint8 *)&addr, tp->name);
return tp->name;
}
-#else
+#endif /* HAVE_GNU_ADNS */
/*
* The Windows "gethostbyaddr()" insists on translating 0.0.0.0 to
@@ -384,7 +384,6 @@ static guchar *host_name_lookup(guint addr, gboolean *found)
# endif /* AVOID_DNS_TIMEOUT */
}
-#endif /* HAVE_GNU_ADNS */
/* unknown host or DNS timeout */