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:
33eff8b
)
Don't ignore case in lp_number() because the rest of the daemon code
author
Wayne Davison
<wayned@samba.org>
Fri, 30 Jul 2004 20:05:37 +0000
(20:05 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 30 Jul 2004 20:05:37 +0000
(20:05 +0000)
can't handle the case where the module name doesn't exactly match the
string the user provided.
loadparm.c
patch
|
blob
|
blame
|
history
diff --git
a/loadparm.c
b/loadparm.c
index
5df51b4
..
c65ecfc
100644
(file)
--- a/
loadparm.c
+++ b/
loadparm.c
@@
-811,7
+811,7
@@
int lp_number(char *name)
int iService;
for (iService = iNumServices - 1; iService >= 0; iService--)
- if (str
equal(lp_name(iService), name)
)
+ if (str
cmp(lp_name(iService), name) == 0
)
break;
return (iService);