X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3e578a1909bbb29a637291d36017f328e017a3bf..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];