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:
Alexander von Gluck IV 2011-01-30 16:52:19 +00:00
parent 2ab028f7d4
commit 5115d9552b

View File

@ -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;