aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-06 06:58:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-06 06:58:42 +0000
commit6c5ea2af27e57268b5be3fce5b9d1164c67d0cce (patch)
treebd067d3017cb3d52b6693bc60295c34129514879 /lib/if2ip.c
parent93e084e097cf4a6356a7ac8e4a1ab0cd45fe2b5c (diff)
untabify
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index b167b8df6..96ecc5348 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -68,7 +68,7 @@
#include "inet_ntoa_r.h"
#endif
-#ifdef VMS
+#ifdef VMS
#include <inet.h>
#endif
@@ -100,7 +100,7 @@ char *Curl_if2ip(const char *interface, char *buf, int buf_size)
return NULL; /* this can't be a fine interface name */
memcpy(req.ifr_name, interface, len+1);
req.ifr_addr.sa_family = AF_INET;
-#ifdef IOCTL_3_ARGS
+#ifdef IOCTL_3_ARGS
if (SYS_ERROR == ioctl(dummy, SIOCGIFADDR, &req)) {
#else
if (SYS_ERROR == ioctl(dummy, SIOCGIFADDR, &req, sizeof(req))) {