From 0f80c3e886c50ccd671430d86580ec3bdc1c0b13 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 27 Feb 2005 09:02:29 +0000 Subject: [PATCH] Added 2 args to do_hard_links() so that it can call maybe_send_keepalive(). --- hlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.34.1