On 01/28/2014 06:40 PM, Jim Fehlig wrote:
Commit df36af58 broke parsing of http response from xend. The prior
use of atoi() would happily parse e.g. a string containing "200 OK\r\n",
whereas virStrToLong_i() will fail when called with a NULL end_ptr.
Change the calls to virStrToLong_i() to provide a non-NULL end_ptr.
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
---
src/xen/xend_internal.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org