diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-07 08:59:48 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-07 08:59:48 +0000 |
commit | 65c2a918d47e70f9dcb41e32e45370c5c6a37db0 (patch) | |
tree | 9380f448ca6389572f96effd36ba18766615a77f /lib | |
parent | 8950ac03f8fd0fb645c7d2374195ea884d091f72 (diff) | |
download | rsync-65c2a918d47e70f9dcb41e32e45370c5c6a37db0.tar.gz rsync-65c2a918d47e70f9dcb41e32e45370c5c6a37db0.tar.bz2 rsync-65c2a918d47e70f9dcb41e32e45370c5c6a37db0.zip |
forgot 1 place that used slprintf
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compat.c b/lib/compat.c index 426eee2a..e84da83c 100644 --- a/lib/compat.c +++ b/lib/compat.c @@ -138,10 +138,10 @@ unsigned char *p = (unsigned char *)&ip.s_addr; static char buf[18]; #if WORDS_BIGENDIAN - slprintf(buf, 18, "%d.%d.%d.%d", + snprintf(buf, 18, "%d.%d.%d.%d", (int)p[0], (int)p[1], (int)p[2], (int)p[3]); #else - slprintf(buf, 18, "%d.%d.%d.%d", + snprintf(buf, 18, "%d.%d.%d.%d", (int)p[3], (int)p[2], (int)p[1], (int)p[0]); #endif return buf; |