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
1 changed files with 2 additions and 2 deletions

View File

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