summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-16 20:39:16 -0700
committerWayne Davison <wayned@samba.org>2008-03-16 20:39:16 -0700
commit7abcfd85b701a6c9354b5986eeb248bb766e57d4 (patch)
tree0dd68559c3882eecbda30ddea36e0faed75adb34
parent6de417d9d4ac8ab67d705e2f6e7ab062154026a9 (diff)
downloadrsync-7abcfd85b701a6c9354b5986eeb248bb766e57d4.tar.gz
rsync-7abcfd85b701a6c9354b5986eeb248bb766e57d4.tar.bz2
rsync-7abcfd85b701a6c9354b5986eeb248bb766e57d4.zip
Moved declaration of "int i" outside the ifdef in send_protected_args().
-rw-r--r--rsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsync.c b/rsync.c
index c384ed9b..48894c97 100644
--- a/rsync.c
+++ b/rsync.c
@@ -207,8 +207,9 @@ int iconvbufs(iconv_t ic, xbuf *in, xbuf *out, int flags)
void send_protected_args(int fd, char *args[])
{
+ int i;
#ifdef ICONV_OPTION
- int i, convert = ic_send != (iconv_t)-1;
+ int convert = ic_send != (iconv_t)-1;
xbuf outbuf, inbuf;
if (convert)