diff --git a/src/common/plugrack.c b/src/common/plugrack.c index 761cc4b70c384425d4bc39006572d1371058b22a..a9b526e25dfc7b21c7f3b49eaf16c08b4c1c69e1 100644 --- a/src/common/plugrack.c +++ b/src/common/plugrack.c @@ -684,12 +684,15 @@ plugrack_use_by_type( plugrack_t rack, ListIterator it; plugrack_entry_t *e; - if ( ! rack ) return PLUGIN_INVALID_HANDLE; - if ( ! full_type ) return PLUGIN_INVALID_HANDLE; + if ( ! rack ) + return PLUGIN_INVALID_HANDLE; + if ( ! full_type ) + return PLUGIN_INVALID_HANDLE; it = list_iterator_create( rack->entries ); while ( ( e = list_next( it ) ) != NULL ) { - if ( strcmp( full_type, e->full_type ) != 0 ) continue; + if ( strcmp( full_type, e->full_type ) != 0 ) + continue; /* See if plugin is loaded. */ if ( e->plug == PLUGIN_INVALID_HANDLE )