Code cleanup
This commit is contained in:
parent
f07fe73b04
commit
56681c5b2b
|
@ -227,9 +227,8 @@ AppTransport * apptransport_new_plugin(AppTransportMode mode,
|
||||||
/* load the transport plug-in */
|
/* load the transport plug-in */
|
||||||
apptransport->plugin = plugin;
|
apptransport->plugin = plugin;
|
||||||
if(apptransport->name == NULL
|
if(apptransport->name == NULL
|
||||||
|| (apptransport->definition = plugin_lookup(
|
|| (apptransport->definition = plugin_lookup(plugin,
|
||||||
apptransport->plugin, "transport"))
|
"transport")) == NULL
|
||||||
== NULL
|
|
||||||
|| apptransport->definition->init == NULL
|
|| apptransport->definition->init == NULL
|
||||||
|| apptransport->definition->destroy == NULL
|
|| apptransport->definition->destroy == NULL
|
||||||
|| (apptransport->tplugin
|
|| (apptransport->tplugin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user