]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Adapt to new VIR_STRNDUP behavior
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 24 May 2013 09:21:36 +0000 (11:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 May 2013 15:00:39 +0000 (17:00 +0200)
commit0fc5d09cbb40ea86fe73ad43030121870a1a00f9
tree097fc24d3270884f8e2cd17adfa6456839608bc1
parentc93571968be190eabcf1c06f46f1a5bb1031f231
Adapt to new VIR_STRNDUP behavior

With previous patch, we accept negative value as length of string to
duplicate. So there is no need to pass strlen(src) in case we want to do
duplicate the whole string.
src/conf/domain_conf.c
src/qemu/qemu_command.c
src/util/virsexpr.c
src/xenxs/xen_sxpr.c