git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbb94a
)
I like braces when multiple lines are indented.
author
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 18:26:45 +0000
(11:26 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 18:43:09 +0000
(11:43 -0700)
generator.c
patch
|
blob
|
history
diff --git
a/generator.c
b/generator.c
index 078b9d4d3cb17269041f0d578b445822f23180ed..01398b583dfc4754ad3c9f9aaef6f9ae26a1d921 100644
(file)
--- 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);