aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 16:49:55 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 16:49:55 +0000
commitdb172fe425634b7d784ae1d5af6d88b96b4e747e (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /docs
parentbb89b301143fe9deb962bb2d48264b27a945fcf4 (diff)
downloadbusybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.tar.gz
busybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.tar.bz2
busybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.zip
style cleanup: return(a) -> return a, part 2
git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
-rw-r--r--docs/ipv4_ipv6.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt
index 76d8279c1..e83db0dbd 100644
--- a/docs/ipv4_ipv6.txt
+++ b/docs/ipv4_ipv6.txt
@@ -175,7 +175,7 @@ Modified IPv6-aware C code:
175 (void) fprintf(stderr, 175 (void) fprintf(stderr,
176 "getaddrinfo: %s for host %s service %s\n", 176 "getaddrinfo: %s for host %s service %s\n",
177 gai_strerror(error), hostname, servicename); 177 gai_strerror(error), hostname, servicename);
178 return (-1); 178 return -1;
179 } 179 }
180 /* Try all returned addresses until one works */ 180 /* Try all returned addresses until one works */
181 for (aip = res; aip != NULL; aip = aip->ai_next) { 181 for (aip = res; aip != NULL; aip = aip->ai_next) {
@@ -187,7 +187,7 @@ Modified IPv6-aware C code:
187 if (sock == -1) { 187 if (sock == -1) {
188 perror("socket"); 188 perror("socket");
189 freeaddrinfo(res); 189 freeaddrinfo(res);
190 return (-1); 190 return -1;
191 } 191 }
192 192
193 /* Connect to the host. */ 193 /* Connect to the host. */