[open-ils-commits] r9318 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 11 23:27:15 EDT 2008
Author: miker
Date: 2008-04-11 22:49:38 -0400 (Fri, 11 Apr 2008)
New Revision: 9318
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
Patch from Scott McKellar to use new osrfHash iterator key function
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-04-11 21:52:49 UTC (rev 9317)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-04-12 02:49:38 UTC (rev 9318)
@@ -71,7 +71,7 @@
static dbi_conn writehandle; /* our MASTER db connection */
static dbi_conn dbhandle; /* our CURRENT db connection */
-osrfHash readHandles;
+//static osrfHash * readHandles;
static jsonObject* jsonNULL = NULL; //
static int max_flesh_depth = 100;
@@ -451,7 +451,7 @@
if (!ctx->session->userData) {
ctx->session->userData = osrfNewHash();
- ((osrfHash*)ctx->session->userData)->freeItem = &sessionDataFree;
+ osrfHashSetCallback((osrfHash*)ctx->session->userData, &sessionDataFree);
}
osrfHashSet( (osrfHash*)ctx->session->userData, strdup( ctx->session->session_id ), "xact_id" );
More information about the open-ils-commits
mailing list