mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +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;
|
||||
}
|
||||
|
||||
if (! STREQLEN(line, param, strlen(param)))
|
||||
if (!(sf = STRSKIP(line, param)))
|
||||
continue;
|
||||
|
||||
sf = line + strlen(param);
|
||||
if (*sf++ != '=')
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user