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-13 18:50:40 +01:00
parent 55c71a26af
commit 05a6283c7a
1 changed files with 278 additions and 517 deletions

File diff suppressed because it is too large Load Diff