summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-19 19:30:29 +0000
committerWayne Davison <wayned@samba.org>2005-01-19 19:30:29 +0000
commit018b28328c7ac0f4f99739d7dff13aa2f32b853d (patch)
treee05cc636b6c2fee7349caee929017baeb64b0790 /tls.c
parent0957a7463e6a69e75b52dacdb0455fbf7a01268c (diff)
downloadrsync-018b28328c7ac0f4f99739d7dff13aa2f32b853d.tar.gz
No need for conditional code around do_lstat() anymore.
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/tls.c b/tls.c
index 80d20c8b..6c0466f8 100644
--- 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