mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 09:53:10 +00:00
openvz: do not open-code STRSKIP
Remove one more use of STREQLEN with strlen as its argument.
This commit is contained in:
parent
83066f99a9
commit
9beb299554
@ -737,10 +737,9 @@ openvzReadConfigParam(const char *conf_file, const char *param, char **value)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! STREQLEN(line, param, strlen(param)))
|
if (!(sf = STRSKIP(line, param)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
sf = line + strlen(param);
|
|
||||||
if (*sf++ != '=')
|
if (*sf++ != '=')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user