summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/inet_ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/inet_ntop.c')
-rw-r--r--libs/libcurl/src/inet_ntop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/libcurl/src/inet_ntop.c b/libs/libcurl/src/inet_ntop.c
index ff318d1a25..b2991f82de 100644
--- a/libs/libcurl/src/inet_ntop.c
+++ b/libs/libcurl/src/inet_ntop.c
@@ -75,7 +75,7 @@ static char *inet_ntop4(const unsigned char *src, char *dst, size_t size)
len = strlen(tmp);
if(len == 0 || len >= size) {
errno = ENOSPC;
- return (NULL);
+ return NULL;
}
strcpy(dst, tmp);
return dst;
@@ -154,7 +154,7 @@ static char *inet_ntop6(const unsigned char *src, char *dst, size_t size)
(best.len == 6 || (best.len == 5 && words[5] == 0xffff))) {
if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) {
errno = ENOSPC;
- return (NULL);
+ return NULL;
}
tp += strlen(tp);
break;
@@ -172,7 +172,7 @@ static char *inet_ntop6(const unsigned char *src, char *dst, size_t size)
*/
if((size_t)(tp - tmp) > size) {
errno = ENOSPC;
- return (NULL);
+ return NULL;
}
strcpy(dst, tmp);
return dst;