Code cleanup
This commit is contained in:
parent
89cdcc3879
commit
bff0b8097c
|
@ -103,7 +103,8 @@ static int _transport(char const * protocol, char const * name)
|
||||||
? transport.plugind->init(helper, ATM_SERVER, name) : NULL;
|
? transport.plugind->init(helper, ATM_SERVER, name) : NULL;
|
||||||
transport.client = (helper->event != NULL)
|
transport.client = (helper->event != NULL)
|
||||||
? transport.plugind->init(helper, ATM_CLIENT, name) : NULL;
|
? transport.plugind->init(helper, ATM_CLIENT, name) : NULL;
|
||||||
if(helper->event == NULL || transport.server == NULL
|
if(helper->event == NULL
|
||||||
|
|| transport.server == NULL
|
||||||
|| transport.client == NULL)
|
|| transport.client == NULL)
|
||||||
{
|
{
|
||||||
if(helper->event != NULL)
|
if(helper->event != NULL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user