提交 9beb2995 编写于 作者: J Ján Tomko

openvz: do not open-code STRSKIP

Remove one more use of STREQLEN with strlen as its argument.
上级 83066f99
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册