X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/82ad07c4182f744c07b96a15df4572e559ed7dc8..f0fbf1d670ee13bb461d44ac089ef9ecea267c7f:/generator.c diff --git a/generator.c b/generator.c index 536302f1..4ec4ac74 100644 --- a/generator.c +++ b/generator.c @@ -1435,11 +1435,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, if (remove_source_files != 1) return; return_with_success: - if (!dry_run) { - char numbuf[4]; - SIVAL(numbuf, 0, ndx); - send_msg(MSG_SUCCESS, numbuf, 4); - } + if (!dry_run) + send_msg_int(MSG_SUCCESS, ndx); return; }