Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20f0d0f
)
Moved write_ndx_and_attrs() to sender.c and made it public.
author
Wayne Davison
<wayned@samba.org>
Sat, 2 Dec 2006 16:16:54 +0000
(16:16 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 2 Dec 2006 16:16:54 +0000
(16:16 +0000)
rsync.c
patch
|
blob
|
blame
|
history
diff --git
a/rsync.c
b/rsync.c
index
b2c3ee0
..
4649752
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-91,19
+91,6
@@
void setup_iconv()
}
#endif
}
#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,
/* 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,