summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/lib/replace.c b/source3/lib/replace.c
index 913cd29b23..cd48b8d160 100644
--- a/source3/lib/replace.c
+++ b/source3/lib/replace.c
@@ -328,13 +328,8 @@ char *rep_inet_ntoa(struct in_addr ip)
{
unsigned char *p = (unsigned char *)&ip.s_addr;
static char buf[18];
-#if WORDS_BIGENDIAN
slprintf(buf, 17, "%d.%d.%d.%d",
(int)p[0], (int)p[1], (int)p[2], (int)p[3]);
-#else /* WORDS_BIGENDIAN */
- slprintf(buf, 17, "%d.%d.%d.%d",
- (int)p[3], (int)p[2], (int)p[1], (int)p[0]);
-#endif /* WORDS_BIGENDIAN */
return buf;
}
#endif /* REPLACE_INET_NTOA */