[Libvir] Patch: Fix documentation and code of virGetDomain function

Daniel P. Berrange berrange at redhat.com
Tue Mar 6 22:06:32 UTC 2007


On Thu, Mar 01, 2007 at 09:46:11AM +0000, Mark McLoughlin wrote:
> On Wed, 2007-02-28 at 16:24 +0000, Richard W.M. Jones wrote:
> >  virGetDomain(virConnectPtr conn, const char *name, const unsigned char *uuid) {
> >      virDomainPtr ret = NULL;
> >  
> > -    if ((!VIR_IS_CONNECT(conn)) || ((name == NULL) && (uuid == NULL)) ||
> > +    if ((!VIR_IS_CONNECT(conn)) || (name == NULL) || (uuid == NULL) || 
> 
> 	Need the same fix in virGetNetwork()

Applied Rich's patch to CVS along with the corresponding fix to virGetNetwork

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list