Patch from Scott McKellar:
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Apr 2008 15:44:56 +0000 (15:44 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Apr 2008 15:44:56 +0000 (15:44 +0000)
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/ILS/trunk@9312 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_idl-core.c

index 8b8184d..bf6c9af 100644 (file)
@@ -346,7 +346,7 @@ char * oilsIDL_pton (const char* classname, int pos) {
 
        while ( (f = osrfHashIteratorNext( itr )) ) {
                if ( atoi(osrfHashGet(f, "array_position")) == pos ) {
-                       ret = strdup(itr->current);
+                       ret = strdup(osrfHashIteratorKey(itr));
                        break;
                }
        }