summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
commit902d39a3a79c6efe93c8879575fdd5a759cf03de (patch)
treee6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /main/network.c
parent581f0141b6dd8d20e71612f90b01507ed0783db8 (diff)
downloadphp-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/network.c b/main/network.c
index c5cf5a5f06..13964e34f8 100644
--- a/main/network.c
+++ b/main/network.c
@@ -1278,11 +1278,11 @@ struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char *
int herr,res;
if (*hstbuflen == 0) {
- *hstbuflen = 1024;
+ *hstbuflen = 1024;
*tmphstbuf = (char *)malloc (*hstbuflen);
}
- while (( res =
+ while (( res =
gethostbyname_r(host,hostbuf,*tmphstbuf,*hstbuflen,&hp,&herr))
&& (errno == ERANGE)) {
/* Enlarge the buffer. */
@@ -1293,7 +1293,7 @@ struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char *
if (res != SUCCESS) {
return NULL;
}
-
+
return hp;
}
#endif
@@ -1308,7 +1308,7 @@ struct hostent * gethostname_re (const char *host,struct hostent *hostbuf,char *
*tmphstbuf = (char *)malloc (*hstbuflen);
}
- while ((NULL == ( hp =
+ while ((NULL == ( hp =
gethostbyname_r(host,hostbuf,*tmphstbuf,*hstbuflen,&herr)))
&& (errno == ERANGE)) {
/* Enlarge the buffer. */