summaryrefslogtreecommitdiff
path: root/source4/lib/replace/inet_ntop.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-19 23:27:42 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:52:05 +0100
commit3e75f222bcdf114238cc4f2bcc61332dc059135f (patch)
tree9b1d7c25483c2819eb34e185459537b6a065e772 /source4/lib/replace/inet_ntop.c
parentc2fffa8335ac68ff70de52f9fc80fb49e5d6d686 (diff)
downloadsamba-3e75f222bcdf114238cc4f2bcc61332dc059135f.tar.gz
r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
Diffstat (limited to 'source4/lib/replace/inet_ntop.c')
-rw-r--r--source4/lib/replace/inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/inet_ntop.c b/source4/lib/replace/inet_ntop.c
index fb3d8e90c8..1b84cda6f0 100644
--- a/source4/lib/replace/inet_ntop.c
+++ b/source4/lib/replace/inet_ntop.c
@@ -74,7 +74,7 @@ rep_inet_ntop(int af, const void *src, char *dst, socklen_t size)
static const char *
inet_ntop4(const unsigned char *src, char *dst, socklen_t size)
{
- static const char *fmt = "%u.%u.%u.%u";
+ const char *fmt = "%u.%u.%u.%u";
char tmp[sizeof "255.255.255.255"];
size_t len;