From: Wayne Davison Date: Tue, 18 Apr 2006 06:38:58 +0000 (+0000) Subject: Fixed a typo in the new code. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/434764269cc3f5bc2fc62f3789ff9d23a562d2d7 Fixed a typo in the new code. --- 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) {