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:
5f238db
)
Case uchar pointer to a char pointer when calling strlen().
author
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 21:02:15 +0000
(21:02 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 21:02:15 +0000
(21:02 +0000)
exclude.c
patch
|
blob
|
blame
|
history
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) {