projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdcb3ec
)
Revert slightly, from Bruno.
author
Simon Josefsson
<simon@josefsson.org>
Mon, 19 Jun 2006 12:28:18 +0000
(12:28 +0000)
committer
Simon Josefsson
<simon@josefsson.org>
Mon, 19 Jun 2006 12:28:18 +0000
(12:28 +0000)
lib/inet_ntop.c
patch
|
blob
|
history
diff --git
a/lib/inet_ntop.c
b/lib/inet_ntop.c
index 34574be072cb4db24ba365c02ceade2988055f06..8329c827dbc9042eb01912f0e47a21813deacbbf 100644
(file)
--- a/
lib/inet_ntop.c
+++ b/
lib/inet_ntop.c
@@
-76,8
+76,10
@@
inet_ntop (int af, const void *restrict src,
{
switch (af)
{
+#if HAVE_IPV4
case AF_INET:
return (inet_ntop4 (src, dst, cnt));
+#endif
#if HAVE_IPV6
case AF_INET6: