]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: eliminate extra args from virExec
authorLaine Stump <laine@laine.org>
Tue, 29 Jan 2013 18:47:18 +0000 (13:47 -0500)
committerLaine Stump <laine@laine.org>
Wed, 13 Feb 2013 21:11:15 +0000 (16:11 -0500)
commit5f2ce53984babf52a091db7217de2c94a3738f1e
tree3642ea362bacfa73201baf870fba100f896fd216
parentb6decc57b11e3f6d82195e6ae87478221924108d
util: eliminate extra args from virExec

All args except "cmd" in the call to virExec are now redundant, since
they can all be found in cmd, so remove the args and reference the
data directly in cmd. One exception to this is that "infd" was being
modified within virExec, and modifying the original in cmd caused make
check failures, so cmd->infd is copied to a local, and the local is
used during virExec().
src/util/vircommand.c