summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-12-02 16:16:54 +0000
committerWayne Davison <wayned@samba.org>2006-12-02 16:16:54 +0000
commitd2aee174e68b860180e8cd17070a63675fe2e3a1 (patch)
tree693e3bd44b6dd9a311c1e8da3e9925073b0bb9c6 /rsync.c
parent20f0d0f9b9d4b373fdd2198a71d43a2c987e252a (diff)
downloadrsync-d2aee174e68b860180e8cd17070a63675fe2e3a1.tar.gz
rsync-d2aee174e68b860180e8cd17070a63675fe2e3a1.tar.bz2
rsync-d2aee174e68b860180e8cd17070a63675fe2e3a1.zip
Moved write_ndx_and_attrs() to sender.c and made it public.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/rsync.c b/rsync.c
index b2c3ee05..4649752e 100644
--- a/rsync.c
+++ b/rsync.c
@@ -91,19 +91,6 @@ void setup_iconv()
}
#endif
-static void write_ndx_and_attrs(int f_out, int ndx, int iflags,
- uchar fnamecmp_type, char *buf, int len)
-{
- write_int(f_out, ndx);
- if (protocol_version < 29)
- return;
- write_shortint(f_out, iflags);
- if (iflags & ITEM_BASIS_TYPE_FOLLOWS)
- write_byte(f_out, fnamecmp_type);
- if (iflags & ITEM_XNAME_FOLLOWS)
- write_vstring(f_out, buf, len);
-}
-
/* This is used by sender.c with a valid f_out, and by receive.c with
* f_out = -1. */
int read_item_attrs(int f_in, int f_out, int ndx, uchar *type_ptr,