[open-ils-commits] r11580 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 15 14:18:09 EST 2008
Author: miker
Date: 2008-12-15 14:18:05 -0500 (Mon, 15 Dec 2008)
New Revision: 11580
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
fixing debugging message so that it is useful for debugging
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 16:31:33 UTC (rev 11579)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 19:18:05 UTC (rev 11580)
@@ -232,7 +232,6 @@
}
buffer_fadd(method_name, ".%s", method_type);
-
char* method = buffer_release(method_name);
free(_fm);
@@ -240,7 +239,7 @@
osrfHashSet( method_meta, strdup(method_type), "methodtype" );
int flags = 0;
- if (!(strcmp( method_type, "search" )) || !(strcmp( method_type, "id_list" ))) {
+ if (*method_type == 'i' || *method_type == 's') {
flags = flags | OSRF_METHOD_STREAMING;
}
@@ -2038,7 +2037,7 @@
osrfLogDebug(
OSRF_LOG_MARK,
- "Entering searchWHERE; search_hash addr = %d, meta addr = %d, opjoin_type = %d, ctx addr = %d",
+ "%s: Entering searchWHERE; search_hash addr = %d, meta addr = %d, opjoin_type = %d, ctx addr = %d",
MODULENAME,
search_hash,
meta,
More information about the open-ils-commits
mailing list