git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f122383
)
Added 2 args to do_hard_links() so that it can call maybe_send_keepalive().
author
Wayne Davison
<wayned@samba.org>
Sun, 27 Feb 2005 09:02:29 +0000
(09:02 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 27 Feb 2005 09:02:29 +0000
(09:02 +0000)
hlink.c
patch
|
blob
|
history
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
}