From: Wayne Davison Date: Fri, 30 Jul 2004 20:05:37 +0000 (+0000) Subject: Don't ignore case in lp_number() because the rest of the daemon code X-Git-Tag: v2.6.3pre1~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b6ad0193d62ff7070f35cb6a3ecad7c34811c60;p=thirdparty%2Frsync.git Don't ignore case in lp_number() because the rest of the daemon code can't handle the case where the module name doesn't exactly match the string the user provided. --- diff --git a/loadparm.c b/loadparm.c index 5df51b42..c65ecfcb 100644 --- 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 (strequal(lp_name(iService), name)) + if (strcmp(lp_name(iService), name) == 0) break; return (iService);