]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs: get guest cfg properties: use g_string_sized_new
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Jun 2019 10:42:20 +0000 (12:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Jun 2019 10:42:53 +0000 (12:42 +0200)
commit5b17ee167172f2afd3dd162587ad415f91f56265
tree26640eaf6d50884bf6a387214b81c933580d313c
parent9c2c6bb500692063549803ef361994ad844f6774
pmxcfs: get guest cfg properties: use g_string_sized_new

While with NULL as first argument g_string_new_len effectively
becomes a g_string_sized_new it can be confusing as the docs do not
mention that. Also this may lead to an error if one changes the call
with out to much research, so fix it to the one function we should
used to begin with here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/status.c