renamed missed l var
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40323 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2ab028f7d4
commit
5115d9552b
|
@ -84,7 +84,7 @@ ServicesAddOn::ParseInetd()
|
||||||
}
|
}
|
||||||
|
|
||||||
BString label;
|
BString label;
|
||||||
token = strtok(l, " \t"); // service name
|
token = strtok(linePtr, " \t"); // service name
|
||||||
label << token;
|
label << token;
|
||||||
token = strtok(NULL, " \t"); // type
|
token = strtok(NULL, " \t"); // type
|
||||||
label << " (" << token << ")";
|
label << " (" << token << ")";
|
||||||
|
@ -120,7 +120,7 @@ ServicesAddOn::ParseXinetd()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
loc = strstr(l, "service ");
|
loc = strstr(linePtr, "service ");
|
||||||
|
|
||||||
if (loc) {
|
if (loc) {
|
||||||
BString label;
|
BString label;
|
||||||
|
|
Loading…
Reference in New Issue