From 95beed5bae639db8b35b4e5e771b94e57b2cb0cf Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 18 May 2007 16:57:56 +0000 Subject: [PATCH] returning OK status in respond method, instead of no status at all. most code uses respond_complete, which is why this has not been an issue in the past. writing new client libs exposed it, though git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@900 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libstack/osrf_app_session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstack/osrf_app_session.c b/src/libstack/osrf_app_session.c index 770446f..054ea30 100644 --- a/src/libstack/osrf_app_session.c +++ b/src/libstack/osrf_app_session.c @@ -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 ); -- 2.43.2