summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-18 13:10:22 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-18 16:45:10 +0100
commite88e6568e4ea422c2841f67a67db01f2f8970b34 (patch)
treee08359b6e86fcd828f4e5cb6ffaae90d686c3c63 /source3/lib
parent5c73dabd49bfca840c062e8c49d8765dc0e4531e (diff)
downloadsamba-e88e6568e4ea422c2841f67a67db01f2f8970b34.tar.gz
samba-e88e6568e4ea422c2841f67a67db01f2f8970b34.tar.bz2
samba-e88e6568e4ea422c2841f67a67db01f2f8970b34.zip
libreplace: remove trailing white spaces.
Michael (cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd) (This used to be commit a1d24f110b3edff636174e017eb56ba5b10df590)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/inet_ntoa.c2
-rw-r--r--source3/lib/replace/inet_ntoa.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/replace/inet_ntoa.c b/source3/lib/replace/inet_ntoa.c
index f3e733fa61..e3b80ebef8 100644
--- a/source3/lib/replace/inet_ntoa.c
+++ b/source3/lib/replace/inet_ntoa.c
@@ -33,7 +33,7 @@ char *rep_inet_ntoa(struct in_addr ip)
{
uint8_t *p = (uint8_t *)&ip.s_addr;
static char buf[18];
- slprintf(buf, 17, "%d.%d.%d.%d",
+ slprintf(buf, 17, "%d.%d.%d.%d",
(int)p[0], (int)p[1], (int)p[2], (int)p[3]);
return buf;
}
diff --git a/source3/lib/replace/inet_ntoa.m4 b/source3/lib/replace/inet_ntoa.m4
index c1de4134d9..5aaa9350c5 100644
--- a/source3/lib/replace/inet_ntoa.m4
+++ b/source3/lib/replace/inet_ntoa.m4
@@ -11,7 +11,7 @@ AC_TRY_RUN([
#endif
main() { struct in_addr ip; ip.s_addr = 0x12345678;
if (strcmp(inet_ntoa(ip),"18.52.86.120") &&
- strcmp(inet_ntoa(ip),"120.86.52.18")) { exit(0); }
+ strcmp(inet_ntoa(ip),"120.86.52.18")) { exit(0); }
exit(1);}],
libreplace_cv_REPLACE_INET_NTOA=yes,libreplace_cv_REPLACE_INET_NTOA=no,libreplace_cv_REPLACE_INET_NTOA=cross)])
if test x"$libreplace_cv_REPLACE_INET_NTOA" = x"yes"; then