Replace calls to osrfAppSessionMakeRequest() with
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Dec 2009 13:54:14 +0000 (13:54 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Dec 2009 13:54:14 +0000 (13:54 +0000)
calls to osrfAppSessionSendRequest().

M    src/gateway/osrf_json_gateway.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1875 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_json_gateway.c

index f6e345b..8882d6f 100644 (file)
@@ -248,7 +248,7 @@ static int osrf_json_gateway_method_handler (request_rec *r) {
                        while( (str = osrfStringArrayGetString(mparams, i++)) ) 
                                jsonObjectPush(arr, parseJSONFunc(str));
 
-                       req_id = osrfAppSessionMakeRequest( session, arr, method, api_level, NULL );
+                       req_id = osrfAppSessionSendRequest( session, arr, method, api_level );
                        jsonObjectFree(arr);
                } else {
 
@@ -264,7 +264,7 @@ static int osrf_json_gateway_method_handler (request_rec *r) {
                                        jsonObjectPush(jsonParams, jsonXMLToJSONObject(str));
                                }
 
-                               req_id = osrfAppSessionMakeRequest( session, jsonParams, method, api_level, NULL );
+                               req_id = osrfAppSessionSendRequest( session, jsonParams, method, api_level );
                                jsonObjectFree(jsonParams);
                        }
                }