Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Got rid of an unreachable free() call.
[rsync/rsync.git]
/
exclude.c
diff --git
a/exclude.c
b/exclude.c
index
1dfa0f2
..
88f2cbb
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-709,7
+709,7
@@
static const char *get_filter_tok(const char *p, int xflags,
cp++;
len = cp - s;
} else
- len = strlen(s);
+ len = strlen(
(char*)
s);
if (mflags & MATCHFLG_CLEAR_LIST) {
if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE)) && len) {