]> git.ipfire.org Git - thirdparty/libvirt.git/commit
parallels: Fix initialization of buflen variable in each loop iteration
authorMikhail Feoktistov <mfeoktistov@virtuozzo.com>
Wed, 17 Jun 2015 12:35:00 +0000 (15:35 +0300)
committerDmitry Guryanov <dguryanov@parallels.com>
Thu, 18 Jun 2015 11:08:48 +0000 (14:08 +0300)
commitfad9b77e0d3d4e739dcd6cae42f5cc40deb54472
tree2f5be6fd2b8018c83fb2221a52474a84f9eb800e
parent6fab625f968d51efbaa07a43283ccfe5dd1c6abe
parallels: Fix initialization of buflen variable in each loop iteration

We need to initialize buflen every time when we get network adapter's
friendly name because we call PrlVmDev_GetFriendlyName in a loop
src/vz/vz_sdk.c