syslog support in rsync daemon has been broken since I added the "log
[rsync/rsync.git] / match.c
diff --git a/match.c b/match.c
index f54c229..845bd35 100644 (file)
--- a/match.c
+++ b/match.c
@@ -119,7 +119,8 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf,
        else
                last_match = offset;
 
-       show_progress(last_match, buf->size);
+       if (buf)
+               show_progress(last_match, buf->size);
 
        if (i == -1) end_progress();
 }