Added a const qualifier. This change is in preparation for a
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 5 Aug 2009 12:42:12 +0000 (12:42 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 5 Aug 2009 12:42:12 +0000 (12:42 +0000)
tweak to the JSON machinery.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13797 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index 7ec7997..05faa91 100644 (file)
@@ -3959,7 +3959,7 @@ static char* buildSELECT ( jsonObject* search_hash, jsonObject* order_hash, osrf
        jsonIterator* class_itr = jsonNewIterator( selhash );
        while ( (snode = jsonIteratorNext( class_itr )) ) {
 
-               char* cname = class_itr->key;
+               const char* cname = class_itr->key;
                osrfHash* idlClass = osrfHashGet( oilsIDL(), cname );
                if (!idlClass) continue;