[open-ils-commits] r9312 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 11 12:22:30 EDT 2008
Author: miker
Date: 2008-04-11 11:44:56 -0400 (Fri, 11 Apr 2008)
New Revision: 9312
Modified:
trunk/Open-ILS/src/c-apps/oils_idl-core.c
Log:
Patch from Scott McKellar:
These patches use the new function osrfHashIteratorKey() to fetch
the current key from an osrfHashIterator, instead of accessing it
directly.
Modified: trunk/Open-ILS/src/c-apps/oils_idl-core.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_idl-core.c 2008-04-11 15:37:25 UTC (rev 9311)
+++ trunk/Open-ILS/src/c-apps/oils_idl-core.c 2008-04-11 15:44:56 UTC (rev 9312)
@@ -346,7 +346,7 @@
while ( (f = osrfHashIteratorNext( itr )) ) {
if ( atoi(osrfHashGet(f, "array_position")) == pos ) {
- ret = strdup(itr->current);
+ ret = strdup(osrfHashIteratorKey(itr));
break;
}
}
More information about the open-ils-commits
mailing list