[libvirt] [PATCH] virNetServerNewPostExecRestart: Initialize @max_anonymous_clients

2014-03-18 Thread Michal Privoznik
Coverity spotted a use of possibly undefined variable. If a server is restarting as an result of update, the JSON file that keeps current value of some variables will not contain the new variables. This is the case of @max_anonymous_clients too. We are correctly querying if there's

Re: [libvirt] [PATCH] virNetServerNewPostExecRestart: Initialize @max_anonymous_clients

2014-03-18 Thread Daniel P. Berrange
On Tue, Mar 18, 2014 at 11:10:58AM +0100, Michal Privoznik wrote: Coverity spotted a use of possibly undefined variable. If a server is restarting as an result of update, the JSON file that keeps current value of some variables will not contain the new variables. This is the case of