No need for conditional code around do_lstat() anymore.
[rsync/rsync.git] / tls.c
diff --git a/tls.c b/tls.c
index 80d20c8..6c0466f 100644 (file)
--- a/tls.c
+++ b/tls.c
@@ -65,14 +65,8 @@ static void list_file(const char *fname)
        struct tm *mt;
        char datebuf[50];
        char linkbuf[4096];
-       int ret;
-
-#if SUPPORT_LINKS
-       ret = do_lstat(fname, &buf);
-#else
-       ret = do_stat(fname, &buf);
-#endif
-       if (ret < 0)
+
+       if (do_lstat(fname, &buf) < 0)
                failed("stat", fname);
 
        /* The size of anything but a regular file is probably not