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
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();
}
}