Skip to content
Snippets Groups Projects
Commit 6c5ea2af authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

untabify

parent 93e084e0
No related branches found
No related tags found
No related merge requests found
......@@ -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))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment