From: Wayne Davison Date: Sun, 27 Feb 2005 09:02:29 +0000 (+0000) Subject: Added 2 args to do_hard_links() so that it can call maybe_send_keepalive(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/0f80c3e886c50ccd671430d86580ec3bdc1c0b13 Added 2 args to do_hard_links() so that it can call maybe_send_keepalive(). --- diff --git a/hlink.c b/hlink.c index 350c5dea..e09a2dbc 100644 --- a/hlink.c +++ b/hlink.c @@ -171,7 +171,7 @@ static void hard_link_one(char *hlink1, char *hlink2) * Create any hard links in the global hlink_list. They were put * there by running init_hard_links on the filelist. **/ -void do_hard_links(void) +void do_hard_links(int allowed_lull, int flist_count) { #ifdef SUPPORT_HARD_LINKS struct file_struct *file, *first; @@ -207,6 +207,8 @@ void do_hard_links(void) } hard_link_one(hlink1, hlink2); } + if (allowed_lull) + maybe_send_keepalive(allowed_lull, flist_count); } #endif }