From 56681c5b2bcd896ee9e1ae23e629041c2f7860b6 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 17 Nov 2020 07:13:00 +0100 Subject: [PATCH] Code cleanup --- src/apptransport.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apptransport.c b/src/apptransport.c index 922e354..e733589 100644 --- a/src/apptransport.c +++ b/src/apptransport.c @@ -227,9 +227,8 @@ AppTransport * apptransport_new_plugin(AppTransportMode mode, /* load the transport plug-in */ apptransport->plugin = plugin; if(apptransport->name == NULL - || (apptransport->definition = plugin_lookup( - apptransport->plugin, "transport")) - == NULL + || (apptransport->definition = plugin_lookup(plugin, + "transport")) == NULL || apptransport->definition->init == NULL || apptransport->definition->destroy == NULL || (apptransport->tplugin