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 44e290e3bf2d914eb703fc3094f6889a76bcd44b..a34385fb6eac7a9646172fccbde99c786f0c6525 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)
 {
 
 static void list_file (const char *fname)
 {
-       struct stat buf;
+       STRUCT_STAT buf;
        char permbuf[PERMSTRING_SIZE];
        struct tm *mt;
        char datebuf[50];
        char permbuf[PERMSTRING_SIZE];
        struct tm *mt;
        char datebuf[50];