On Thu, Feb 26, 2015 at 15:17:16 +0100, Michal Privoznik wrote: > Instead of copying the whole object onto stack when calling the > function, just pass the pointer to the object and save up some > space on the stack. Moreover, this prepares the code to hide the > virNetworkObjList structure into network_conf.c and use accessors > only. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/conf/network_conf.c | 8 ++++---- > src/conf/network_conf.h | 2 +- > src/network/bridge_driver.c | 2 +- > src/parallels/parallels_network.c | 2 +- > src/test/test_driver.c | 2 +- > 5 files changed, 8 insertions(+), 8 deletions(-) ACK, Peter
Attachment:
signature.asc
Description: Digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list