remote: Fill remote parameters in remoteDomainListAllSnapshots()

This patch fills the domain argument that is sent to the remote side.
This caused a client segfault as the argument was NULL.
This commit is contained in:
Peter Krempa 2012-07-04 10:58:39 +02:00
parent a4f74cd09a
commit d59e10338d

View File

@ -4888,6 +4888,7 @@ remoteDomainListAllSnapshots(virDomainPtr dom,
remoteDriverLock(priv);
make_nonnull_domain(&args.dom, dom);
args.need_results = !!snapshots;
args.flags = flags;