(1) Removes virGetDomainByID. This function was neither used nor exported.
(2) virGetDomain sets a virterror connection error whenever anything bad
happens (realistically malloc failure is the only thing that can go
wrong). Therefore callers do not need to set virterror if the function
returns NULL. The patch fixes these callers.
(3) Same as (2), for virGetNetwork.
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903