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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user