diff options
author | Wayne Davison <wayned@samba.org> | 2006-12-28 18:49:13 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-12-28 18:49:13 +0000 |
commit | 9ae7a2cddbb19d14e1b4453cfd40d840ea3042d2 (patch) | |
tree | e4c523029affdf8e1024185ce044d903ca6c7fb6 /sender.c | |
parent | 8a65e0ce00bb5150c1cc70b985a649e0dc9e5278 (diff) | |
download | android_external_rsync-9ae7a2cddbb19d14e1b4453cfd40d840ea3042d2.tar.gz android_external_rsync-9ae7a2cddbb19d14e1b4453cfd40d840ea3042d2.tar.bz2 android_external_rsync-9ae7a2cddbb19d14e1b4453cfd40d840ea3042d2.zip |
Use write_ndx() and read_ndx().
Diffstat (limited to 'sender.c')
-rw-r--r-- | sender.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -149,7 +149,7 @@ void successful_send(int ndx) void write_ndx_and_attrs(int f_out, int ndx, int iflags, uchar fnamecmp_type, char *buf, int len) { - write_int(f_out, ndx); + write_ndx(f_out, ndx); if (protocol_version < 29) return; write_shortint(f_out, iflags); @@ -191,7 +191,7 @@ void send_files(int f_in, int f_out) if (incremental && first_flist) { flist_free(first_flist); if (first_flist) { - write_int(f_out, NDX_DONE); + write_ndx(f_out, NDX_DONE); continue; } } @@ -199,7 +199,7 @@ void send_files(int f_in, int f_out) break; if (verbose > 2) rprintf(FINFO, "send_files phase=%d\n", phase); - write_int(f_out, NDX_DONE); + write_ndx(f_out, NDX_DONE); continue; } @@ -354,5 +354,5 @@ void send_files(int f_in, int f_out) match_report(); - write_int(f_out, NDX_DONE); + write_ndx(f_out, NDX_DONE); } |