libreplace: remove trailing white spaces.
authorMichael Adam <obnox@samba.org>
Tue, 18 Mar 2008 12:10:22 +0000 (13:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 18 Mar 2008 15:45:10 +0000 (16:45 +0100)
Michael
(cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)

source/lib/replace/inet_ntoa.c
source/lib/replace/inet_ntoa.m4

index f3e733fa617a8799087ccdc548d168e3542739d7..e3b80ebef8b923f0f2fbe0639cb77bf012ceaa48 100644 (file)
@@ -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;
 }
index c1de4134d965c3f2340ab7c69ec37269c9a74f6c..5aaa9350c5a72161363ae5edf778228c2452f48e 100644 (file)
@@ -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