aboutsummaryrefslogtreecommitdiffstats
path: root/generator.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-04-18 06:38:58 +0000
committerWayne Davison <wayned@samba.org>2006-04-18 06:38:58 +0000
commit434764269cc3f5bc2fc62f3789ff9d23a562d2d7 (patch)
treee0b7f3a01cf1afd593cbf285a190a93c1893aa01 /generator.c
parentba212fe0b645f4a261bfaf01bc7a86a0b1baecc9 (diff)
downloadandroid_external_rsync-434764269cc3f5bc2fc62f3789ff9d23a562d2d7.tar.gz
android_external_rsync-434764269cc3f5bc2fc62f3789ff9d23a562d2d7.tar.bz2
android_external_rsync-434764269cc3f5bc2fc62f3789ff9d23a562d2d7.zip
Fixed a typo in the new code.
Diffstat (limited to 'generator.c')
-rw-r--r--generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.c b/generator.c
index 037fb01d..e9e145c8 100644
--- a/generator.c
+++ b/generator.c
@@ -739,7 +739,7 @@ static int try_dests_non(struct file_struct *file, char *fname, int ndx,
&& !S_ISLNK(file->mode)
#endif
#ifndef CAN_HARDLINK_SPECIAL
- && !IS_SPECIAL(st.st_mode) && !IS_DEVICE(file->mode)
+ && !IS_SPECIAL(file->mode) && !IS_DEVICE(file->mode)
#endif
) {
if (do_link(fnamebuf, fname) < 0) {