Re: [libvirt] [PATCHv2] network: check negative values in bridge queues

2014-09-16 Thread Martin Kletzander
On Tue, Sep 16, 2014 at 10:06:50AM +0200, Erik Skultety wrote: We already are checking for negative value, reporting an error, but using wrong function and the check only succeeds when a value that cannot be converted to number successfully is encountered. This patch provides just a minor change

[libvirt] [PATCHv2] network: check negative values in bridge queues

2014-09-16 Thread Erik Skultety
We already are checking for negative value, reporting an error, but using wrong function and the check only succeeds when a value that cannot be converted to number successfully is encountered. This patch provides just a minor change in call of the right version of function virStrToLong. Resolves: