[PATCH 0/2] Minor fixes for virTypedParams(De)Serialize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some minor fixes and two questions:

* Is the first method, which is described in the documentation for
  virTypedParamsDeserialize, in sync with the actual code? ("Older
  APIs do not rely on deserializer allocating memory for @params,
  ...")

* Do we also have to set *nparams = 0 in case of an error and the user
  has allocated the memory? (virTypedParamsDeserialize)
  
Marc Hartmayer (2):
  virTypedParamsSerialize: minor fixes
  virTypedParamsDeserialize: minor fixes

 src/util/virtypedparam.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
2.13.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux