aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))) {