Write error check conditionals in more compact form for dispatcher

Replace cases of

     type = virConnectGetType(conn);
     if (type == NULL)
         goto cleanup;

With

     if (!(type = virConnectGetType(conn)))
         goto cleanup;

* daemon/remote.c: Write error checks in compat form
This commit is contained in:
Daniel P. Berrange
2011-04-18 15:20:33 +01:00
parent 55c71a26af
commit 05a6283c7a
+278 -517
View File
File diff suppressed because it is too large Load Diff