summaryrefslogtreecommitdiffstats
path: root/lib/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/print.c')
-rw-r--r--lib/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/print.c b/lib/print.c
index f2f848b..1bd8392 100644
--- a/lib/print.c
+++ b/lib/print.c
@@ -174,7 +174,7 @@ __getnameinfo4(char *buf, unsigned int len,
memmove(buf + 1, buf, strlen(buf) + 1);
buf[0] = escape[0];
strcat(buf, IPSET_ESCAPE_END);
- }
+ }
return (err == 0 ? (int)strlen(buf) :
(err == EAI_OVERFLOW || err == EAI_SYSTEM) ? (int)len : -1);
}
@@ -210,7 +210,7 @@ __getnameinfo6(char *buf, unsigned int len,
memmove(buf + 1, buf, strlen(buf) + 1);
buf[0] = escape[0];
strcat(buf, IPSET_ESCAPE_END);
- }
+ }
return (err == 0 ? (int)strlen(buf) :
(err == EAI_OVERFLOW || err == EAI_SYSTEM) ? (int)len : -1);
}