Commit 8b6ad019 authored by Wayne Davison's avatar Wayne Davison

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.
parent 33eff8bf
...@@ -811,7 +811,7 @@ int lp_number(char *name) ...@@ -811,7 +811,7 @@ int lp_number(char *name)
int iService; int iService;
for (iService = iNumServices - 1; iService >= 0; iService--) for (iService = iNumServices - 1; iService >= 0; iService--)
if (strequal(lp_name(iService), name)) if (strcmp(lp_name(iService), name) == 0)
break; break;
return (iService); return (iService);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment