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:
parent
3130541ebf
commit
28de547997
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user