summaryrefslogtreecommitdiff
path: root/sender.c
diff options
context:
space:
mode:
Diffstat (limited to 'sender.c')
-rw-r--r--sender.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sender.c b/sender.c
index b0c6570b..52aaa9c6 100644
--- a/sender.c
+++ b/sender.c
@@ -143,19 +143,6 @@ void successful_send(int ndx)
}
}
-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);
-}
-
void send_files(struct file_list *flist, int f_out, int f_in)
{
int fd = -1;