summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-10-25 01:40:17 +0000
committerWayne Davison <wayned@samba.org>2007-10-25 01:40:17 +0000
commit4efa11680a07d02d48fa70cc3df393ee6bd11082 (patch)
treec66b735744f4851cc5fc8451561f41c632007353 /rsync.c
parent2f39f112c167fff30224d8f401b75a9820f1e82e (diff)
downloadrsync-4efa11680a07d02d48fa70cc3df393ee6bd11082.tar.gz
rsync-4efa11680a07d02d48fa70cc3df393ee6bd11082.tar.bz2
rsync-4efa11680a07d02d48fa70cc3df393ee6bd11082.zip
We need to provide iconvbufs() anytime ICONV_CONST is defined.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rsync.c b/rsync.c
index 573641ab..79ec3845 100644
--- a/rsync.c
+++ b/rsync.c
@@ -134,8 +134,6 @@ void setup_iconv(void)
# endif
}
-# ifdef ICONV_OPTION
-
/* This function converts the characters in the "in" xbuf into characters
* in the "out" xbuf. The "len" of the "in" xbuf is used starting from its
* "pos". The "size" of the "out" xbuf restricts how many characters can be
@@ -205,7 +203,6 @@ int iconvbufs(iconv_t ic, xbuf *in, xbuf *out, int flags)
return errno ? -1 : 0;
}
-# endif
#endif
int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr,