rsync_finish
void rsync_finish(unsigned int, int);
rsync_finish(id, ok);
rsync_finish(rp->rsync->id, 0);
rsync_finish(rr->id, 0);