tsyncfile() returns with 0 if no difference is found - synk - synchronize files between hosts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 644b6f8d59e9e9770fbd096806256f4148b32e98
 (DIR) parent fa827f5f90ee4bb0bc0ebf47bebaab48045d62ed
 (HTM) Author: Willy <willyatmailoodotorg>
       Date:   Thu,  1 Sep 2016 18:34:12 +0200
       
       syncfile() returns with 0 if no difference is found
       
       Diffstat:
         M synk.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/synk.c b/synk.c
       t@@ -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;