]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: refactor remoteSerializeDHCPLease
authorJán Tomko <jtomko@redhat.com>
Thu, 8 Oct 2020 10:21:01 +0000 (12:21 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 8 Oct 2020 17:19:22 +0000 (19:19 +0200)
commitd0de0431ff35299734a37f88bc0fba46af549461
tree66cb6c0021c09f8e839e4b8c574974676ed61f92
parentc3d02040ac7de7753b544eb3f3188d97394adb28
remote: refactor remoteSerializeDHCPLease

Use g_new0 for allocation and remove all the temporary
variables.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/remote/remote_daemon_dispatch.c