[Opensrf-commits] r1875 - trunk/src/gateway (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 15 08:54:15 EST 2009


Author: scottmk
Date: 2009-12-15 08:54:14 -0500 (Tue, 15 Dec 2009)
New Revision: 1875

Modified:
   trunk/src/gateway/osrf_json_gateway.c
Log:
Replace calls to osrfAppSessionMakeRequest() with
calls to osrfAppSessionSendRequest().

M    src/gateway/osrf_json_gateway.c


Modified: trunk/src/gateway/osrf_json_gateway.c
===================================================================
--- trunk/src/gateway/osrf_json_gateway.c	2009-12-15 01:47:57 UTC (rev 1874)
+++ trunk/src/gateway/osrf_json_gateway.c	2009-12-15 13:54:14 UTC (rev 1875)
@@ -248,7 +248,7 @@
 			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 @@
 					jsonObjectPush(jsonParams, jsonXMLToJSONObject(str));
 				}
 
-				req_id = osrfAppSessionMakeRequest( session, jsonParams, method, api_level, NULL );
+				req_id = osrfAppSessionSendRequest( session, jsonParams, method, api_level );
 				jsonObjectFree(jsonParams);
 			}
 		}



More information about the opensrf-commits mailing list