openvz: do not open-code STRSKIP

Remove one more use of STREQLEN with strlen as its argument.
This commit is contained in:
Ján Tomko 2016-06-24 14:35:08 +02:00
parent 83066f99a9
commit 9beb299554

View File

@ -737,10 +737,9 @@ openvzReadConfigParam(const char *conf_file, const char *param, char **value)
break;
}
if (! STREQLEN(line, param, strlen(param)))
if (!(sf = STRSKIP(line, param)))
continue;
sf = line + strlen(param);
if (*sf++ != '=')
continue;