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 /backup.c | |
parent | 0957a7463e6a69e75b52dacdb0455fbf7a01268c (diff) | |
download | rsync-018b28328c7ac0f4f99739d7dff13aa2f32b853d.tar.gz rsync-018b28328c7ac0f4f99739d7dff13aa2f32b853d.tar.bz2 rsync-018b28328c7ac0f4f99739d7dff13aa2f32b853d.zip |
No need for conditional code around do_lstat() anymore.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -162,12 +162,7 @@ static int keep_backup(char *fname) int ret_code; /* return if no file to keep */ -#if SUPPORT_LINKS - ret_code = do_lstat(fname, &st); -#else - ret_code = do_stat(fname, &st); -#endif - if (ret_code < 0) + if (do_lstat(fname, &st) < 0) return 1; if (!(file = make_file(fname, NULL, NO_EXCLUDES))) |