Added 2 args to do_hard_links() so that it can call maybe_send_keepalive().
authorWayne Davison <wayned@samba.org>
Sun, 27 Feb 2005 09:02:29 +0000 (09:02 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 27 Feb 2005 09:02:29 +0000 (09:02 +0000)
hlink.c

diff --git a/hlink.c b/hlink.c
index 350c5dea30cc68ed78f0e7991c23df65bc03dac5..e09a2dbcc7aec4e42258f0b392a8053805c18e60 100644 (file)
--- 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
 }