From: miker Date: Fri, 11 Apr 2008 15:45:10 +0000 (+0000) Subject: Patch from Scott McKellar: X-Git-Tag: osrf_rel_2_0_1~659 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=66cc32f477339c732856d6200543e85b08912833;p=OpenSRF.git Patch from Scott McKellar: These patches use the new function osrfHashIteratorKey() to fetch the current key from an osrfHashIterator, instead of accessing it directly. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1308 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libopensrf/osrf_application.c b/src/libopensrf/osrf_application.c index ece61a2..5737787 100644 --- a/src/libopensrf/osrf_application.c +++ b/src/libopensrf/osrf_application.c @@ -118,7 +118,8 @@ void osrfAppRunExitCode() { osrfApplication* app; while( (app = osrfHashIteratorNext(itr)) ) { if( app->onExit ) { - osrfLogInfo(OSRF_LOG_MARK, "Running onExit handler for app %s", itr->current); + osrfLogInfo(OSRF_LOG_MARK, "Running onExit handler for app %s", + osrfHashIteratorKey(itr) ); app->onExit(); } }