From: Ján Tomko Date: Fri, 24 Jun 2016 12:35:08 +0000 (+0200) Subject: openvz: do not open-code STRSKIP X-Git-Tag: v2.0.0-rc1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9beb299554797145b478ce841be822381a332bd2;p=thirdparty%2Flibvirt.git openvz: do not open-code STRSKIP Remove one more use of STREQLEN with strlen as its argument. --- diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index ff321915b6..140335046b 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -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;