diff options
| author | Wayne Davison <wayned@samba.org> | 2006-12-04 02:07:37 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-12-04 02:07:37 +0000 |
| commit | 663b2857ebe84df29c10c17c818040ceb9569593 (patch) | |
| tree | 46bb11b86a0129d06e8a4e3fbe64b3b57995ff42 /generator.c | |
| parent | 155d9206a4d5b199d056b2932c62c292e58c0d69 (diff) | |
| download | android_external_rsync-663b2857ebe84df29c10c17c818040ceb9569593.tar.gz android_external_rsync-663b2857ebe84df29c10c17c818040ceb9569593.tar.bz2 android_external_rsync-663b2857ebe84df29c10c17c818040ceb9569593.zip | |
Use new send_msg_int() function.
Diffstat (limited to 'generator.c')
| -rw-r--r-- | generator.c | 7 |
1 files changed, 2 insertions, 5 deletions
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; } |
