synk

synchronize files between hosts
Log | Files | Refs | README | LICENSE

commit 644b6f8d59e9e9770fbd096806256f4148b32e98
parent fa827f5f90ee4bb0bc0ebf47bebaab48045d62ed
Author: Willy <willyatmailoodotorg>
Date:   Thu Sep  1 18:34:12 +0200

syncfile() returns with 0 if no difference is found

Diffstat:
synk.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/synk.c b/synk.c @@ -449,7 +449,7 @@ dosync(struct peer_t *master, struct peer_t *slave) int syncfile(struct peers_t *plist, const char *fn) { - int ret = -1; + int ret = 0; struct metadata_t *local; struct peer_t *tmp = NULL; struct peer_t *master = NULL;