returning empty array when no results
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 24 Feb 2005 20:52:44 +0000 (20:52 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 24 Feb 2005 20:52:44 +0000 (20:52 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@113 9efc2488-bf62-4759-914b-345cdb29e865

src/router/router.c

index a72b786..f5f8be5 100644 (file)
@@ -927,8 +927,9 @@ osrf_message* router_registrar_process_app_request(
                                        result_content, json_object_new_string(cur_class->server_class));
                        cur_class = cur_class->next;
                }
-               if( json_object_array_length(result_content) < 1 ) 
-                       result_content = NULL;
+
+               //if( json_object_array_length(result_content) < 1 ) 
+               //      result_content = NULL;
 
        }