Restored write_ndx_and_attrs() and made it public.
[rsync/rsync.git] / sender.c
index b0c6570..26cdafa 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -143,8 +143,8 @@ 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)
+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)