diff options
author | Wayne Davison <wayned@samba.org> | 2005-01-19 19:30:29 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-01-19 19:30:29 +0000 |
commit | 018b28328c7ac0f4f99739d7dff13aa2f32b853d (patch) | |
tree | e05cc636b6c2fee7349caee929017baeb64b0790 /tls.c | |
parent | 0957a7463e6a69e75b52dacdb0455fbf7a01268c (diff) | |
download | rsync-018b28328c7ac0f4f99739d7dff13aa2f32b853d.tar.gz |
No need for conditional code around do_lstat() anymore.
Diffstat (limited to 'tls.c')
-rw-r--r-- | tls.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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 |