Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
675ef1a
)
One last minor tweak to clean_fname().
author
Wayne Davison
<wayned@samba.org>
Thu, 12 Aug 2004 20:04:47 +0000
(20:04 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 12 Aug 2004 20:04:47 +0000
(20:04 +0000)
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
e18f991
..
79050d3
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-704,9
+704,7
@@
unsigned int clean_fname(char *name, BOOL collapse_dot_dot)
f += 2;
continue;
}
f += 2;
continue;
}
- *t++ = *f++;
- *t++ = *f++;
- limit = t;
+ limit = t + 2;
}
}
while (*f && (*t++ = *f++) != '/') {}
}
}
while (*f && (*t++ = *f++) != '/') {}