diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /docs | |
parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
download | busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ipv4_ipv6.txt | 4 |
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: (void) fprintf(stderr, "getaddrinfo: %s for host %s service %s\n", gai_strerror(error), hostname, servicename); - return (-1); + return -1; } /* Try all returned addresses until one works */ for (aip = res; aip != NULL; aip = aip->ai_next) { @@ -187,7 +187,7 @@ Modified IPv6-aware C code: if (sock == -1) { perror("socket"); freeaddrinfo(res); - return (-1); + return -1; } /* Connect to the host. */ |