From f8a3d9131822522fd53acfb45cb75e4f58ce551f Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 28 Apr 2006 17:30:59 +0000 Subject: [PATCH] No change in logic, just restructure code for Linux Kernel coding standard. --- src/common/plugrack.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/common/plugrack.c b/src/common/plugrack.c index 761cc4b70c3..a9b526e25df 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 ) -- GitLab