提交 28de5479 编写于 作者: M Michal Privoznik

Revert "dnsmasq: Fix parsing of the version number"

This reverts commit 51144313
which was pushed accidentally.
上级 3130541e
......@@ -641,9 +641,9 @@ dnsmasqCapsSetFromBuffer(dnsmasqCapsPtr caps, const char *buf)
caps->noRefresh = true;
if (!(p = strstr(buf, DNSMASQ_VERSION_STR)))
p = STRSKIP(buf, DNSMASQ_VERSION_STR);
if (!p)
goto fail;
p += sizeof(DNSMASQ_VERSION_STR) - 1;
virSkipSpaces(&p);
if (virParseVersionString(p, &caps->version, true) < 0)
goto fail;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册