]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Don't motify the const string
authorOsier Yang <jyang@redhat.com>
Fri, 14 Sep 2012 16:21:07 +0000 (00:21 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 17 Sep 2012 03:29:31 +0000 (11:29 +0800)
commitf5fb059a78b5af08d91397565040fadc9eb37876
tree78d069ba95a08d5411319be423ce6b40bef9b4db
parenta3676b6cb6028b25d9b463be9174a563a8ce7353
virsh: Don't motify the const string

This improve helper vshStringToArray to accept const string as
argument instead. To not convert the const string when using
vshStringToArray, and thus avoid motifying it.
tools/virsh-domain.c
tools/virsh-pool.c
tools/virsh.c
tools/virsh.h