From: Wayne Davison Date: Sat, 26 Jun 2010 18:26:45 +0000 (-0700) Subject: I like braces when multiple lines are indented. X-Git-Tag: v3.1.0pre1~204 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3e41255a63523627423ee5b21a8406ebfb2de79;p=thirdparty%2Frsync.git I like braces when multiple lines are indented. --- diff --git a/generator.c b/generator.c index 078b9d4d..01398b58 100644 --- a/generator.c +++ b/generator.c @@ -1354,10 +1354,11 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, const char *sl = F_SYMLINK(file); if (safe_symlinks && unsafe_symlink(sl, fname)) { if (INFO_GTE(NAME, 1)) { - if (solo_file) + if (solo_file) { /* fname contains the destination path, but we * want to report the source path. */ fname = f_name(file, NULL); + } rprintf(FINFO, "ignoring unsafe symlink \"%s\" -> \"%s\"\n", fname, sl);