From 66cc32f477339c732856d6200543e85b08912833 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 11 Apr 2008 15:45:10 +0000 Subject: [PATCH] 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 --- src/libopensrf/osrf_application.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } } -- 2.11.0