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;
|
||||
token = strtok(l, " \t"); // service name
|
||||
token = strtok(linePtr, " \t"); // service name
|
||||
label << token;
|
||||
token = strtok(NULL, " \t"); // type
|
||||
label << " (" << token << ")";
|
||||
@ -120,7 +120,7 @@ ServicesAddOn::ParseXinetd()
|
||||
continue;
|
||||
}
|
||||
|
||||
loc = strstr(l, "service ");
|
||||
loc = strstr(linePtr, "service ");
|
||||
|
||||
if (loc) {
|
||||
BString label;
|
||||
|
Loading…
Reference in New Issue
Block a user