1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

Revert "dnsmasq: Fix parsing of the version number"

This reverts commit 5114431396
which was pushed accidentally.
This commit is contained in:
Michal Privoznik 2012-12-10 14:00:02 +01:00
parent 3130541ebf
commit 28de547997

View File

@ -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;