summaryrefslogtreecommitdiff
path: root/lib/inet_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inet_pton.c')
-rw-r--r--lib/inet_pton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c
index d2a54e9f3..d08c7c666 100644
--- a/lib/inet_pton.c
+++ b/lib/inet_pton.c
@@ -223,7 +223,7 @@ inet_pton6(const char *src, unsigned char *dst)
if(tp == endp)
return (0);
- for (i = 1; i <= n; i++) {
+ for(i = 1; i <= n; i++) {
*(endp - i) = *(colonp + n - i);
*(colonp + n - i) = 0;
}