Must use STRUCT_STAT not "struct stat" to be compatible with other
authorMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 22:49:00 +0000 (22:49 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 22:49:00 +0000 (22:49 +0000)
rsync functions.

tls.c

diff --git a/tls.c b/tls.c
index 44e290e..a34385f 100644 (file)
--- a/tls.c
+++ b/tls.c
@@ -62,7 +62,7 @@ static void failed (char const *what,
 
 static void list_file (const char *fname)
 {
-       struct stat buf;
+       STRUCT_STAT buf;
        char permbuf[PERMSTRING_SIZE];
        struct tm *mt;
        char datebuf[50];