From 210ee1ade4b4ec5b6f2d3710986171a21a4b8604 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Apr 2011 13:11:51 +0000 Subject: whitespace only, no functional change mixed tabs/spaces --> tabs. --- release/windows/contrib/vfapi/vfapi-plugin.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'release/windows') diff --git a/release/windows/contrib/vfapi/vfapi-plugin.c b/release/windows/contrib/vfapi/vfapi-plugin.c index c54f8234d2d..81547b8bb1a 100644 --- a/release/windows/contrib/vfapi/vfapi-plugin.c +++ b/release/windows/contrib/vfapi/vfapi-plugin.c @@ -114,17 +114,17 @@ __declspec(dllexport) HRESULT vfGetPluginInfo( static unsigned long getipaddress(const char * ipaddr) { - struct hostent *host; - unsigned long ip; + struct hostent *host; + unsigned long ip; - if (((ip = inet_addr(ipaddr)) == INADDR_NONE) - && strcmp(ipaddr, "255.255.255.255") != 0) { - if ((host = gethostbyname(ipaddr)) != NULL) { - memcpy(&ip, host->h_addr, sizeof(ip)); - } - } + if (((ip = inet_addr(ipaddr)) == INADDR_NONE) + && strcmp(ipaddr, "255.255.255.255") != 0) { + if ((host = gethostbyname(ipaddr)) != NULL) { + memcpy(&ip, host->h_addr, sizeof(ip)); + } + } - return (ip); + return (ip); } static void my_send(SOCKET sock, char * str) @@ -363,12 +363,12 @@ HRESULT __stdcall VF_ReadDataFunc_Blen( } while (strcmp(buf, "P6\n") != 0); do { - rval = my_gets(s_in, buf, 256); - } while ( (buf[0] == '#' || buf[0] == '\n') && rval >= 0); + rval = my_gets(s_in, buf, 256); + } while ( (buf[0] == '#' || buf[0] == '\n') && rval >= 0); - if (sscanf(buf, "%d %d\n", &width, &height) != 2) { + if (sscanf(buf, "%d %d\n", &width, &height) != 2) { goto errout; - } + } if (width != c->width || height != c->height) { goto errout; -- cgit v1.2.3