Commit 0f80c3e8 authored by Wayne Davison's avatar Wayne Davison

Added 2 args to do_hard_links() so that it can call maybe_send_keepalive().

parent f1223831
...@@ -171,7 +171,7 @@ static void hard_link_one(char *hlink1, char *hlink2) ...@@ -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 * Create any hard links in the global hlink_list. They were put
* there by running init_hard_links on the filelist. * 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 #ifdef SUPPORT_HARD_LINKS
struct file_struct *file, *first; struct file_struct *file, *first;
...@@ -207,6 +207,8 @@ void do_hard_links(void) ...@@ -207,6 +207,8 @@ void do_hard_links(void)
} }
hard_link_one(hlink1, hlink2); hard_link_one(hlink1, hlink2);
} }
if (allowed_lull)
maybe_send_keepalive(allowed_lull, flist_count);
} }
#endif #endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment