returning OK status in respond method, instead of no status at all. most code uses...
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 18 May 2007 16:57:56 +0000 (16:57 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 18 May 2007 16:57:56 +0000 (16:57 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@900 9efc2488-bf62-4759-914b-345cdb29e865

src/libstack/osrf_app_session.c

index 770446f..054ea30 100644 (file)
@@ -598,6 +598,7 @@ int osrfAppRequestRespond( osrfAppSession* ses, int requestId, jsonObject* data
        if(!ses || ! data ) return -1;
 
        osrf_message* msg = osrf_message_init( RESULT, requestId, 1 );
+       osrf_message_set_status_info( msg, NULL, "OK", OSRF_STATUS_OK );
        char* json = jsonObjectToJSON( data );
 
        osrf_message_set_result_content( msg, json );