X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1b7c47cb550e7600a66528c9cbd4bc1e880fb91e..654175798bdbdd6403e10c8fa74e8586b3612ea1:/sender.c diff --git a/sender.c b/sender.c index 79eb1c8c..45c09201 100644 --- a/sender.c +++ b/sender.c @@ -118,7 +118,7 @@ void send_files(struct file_list *flist,int f_out,int f_in) if (i < 0 || i >= flist->count) { rprintf(FERROR,"Invalid file index %d (count=%d)\n", i, flist->count); - exit_cleanup(1); + exit_cleanup(RERR_PROTOCOL); } file = flist->files[i];