[open-ils-commits] r7571 - branches/rel_1_2/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Jul 21 15:34:29 EDT 2007
Author: erickson
Date: 2007-07-21 15:34:02 -0400 (Sat, 21 Jul 2007)
New Revision: 7571
Modified:
branches/rel_1_2/Open-ILS/src/c-apps/oils_cstore.c
Log:
back-porting NULL classname check: svn merge -r7569:7570 svn://svn.open-ils.org/ILS/trunk
Modified: branches/rel_1_2/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- branches/rel_1_2/Open-ILS/src/c-apps/oils_cstore.c 2007-07-21 19:32:01 UTC (rev 7570)
+++ branches/rel_1_2/Open-ILS/src/c-apps/oils_cstore.c 2007-07-21 19:34:02 UTC (rev 7571)
@@ -655,7 +655,7 @@
osrfHash* meta = (osrfHash*) ctx->method->userData;
osrfHash* class = osrfHashGet( meta, "class" );
- if ((strcmp( osrfHashGet(class, "classname"), param->classname ))) {
+ if (!param->classname || (strcmp( osrfHashGet(class, "classname"), param->classname ))) {
growing_buffer* msg = buffer_init(128);
buffer_fadd(
More information about the open-ils-commits
mailing list