summaryrefslogtreecommitdiff
path: root/source4/lib/replace/inet_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/inet_pton.c')
-rw-r--r--source4/lib/replace/inet_pton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/inet_pton.c b/source4/lib/replace/inet_pton.c
index 80e4865ef4..ea0fe6b78c 100644
--- a/source4/lib/replace/inet_pton.c
+++ b/source4/lib/replace/inet_pton.c
@@ -77,7 +77,7 @@ inet_pton4(src, dst)
const char *src;
unsigned char *dst;
{
- static const char digits[] = "0123456789";
+ const char digits[] = "0123456789";
int saw_digit, octets, ch;
unsigned char tmp[NS_INADDRSZ], *tp;
@@ -131,7 +131,7 @@ inet_pton6(src, dst)
const char *src;
unsigned char *dst;
{
- static const char xdigits_l[] = "0123456789abcdef",
+ const char xdigits_l[] = "0123456789abcdef",
xdigits_u[] = "0123456789ABCDEF";
unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
const char *xdigits, *curtok;