[Opensrf-commits] r1191 - trunk/src/libopensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 31 21:03:52 EST 2007


Author: miker
Date: 2007-12-31 20:40:30 -0500 (Mon, 31 Dec 2007)
New Revision: 1191

Modified:
   trunk/src/libopensrf/osrf_settings.c
Log:
Patch from Scott McKellar; use camelCase instead of under_score function names

Modified: trunk/src/libopensrf/osrf_settings.c
===================================================================
--- trunk/src/libopensrf/osrf_settings.c	2008-01-01 01:38:58 UTC (rev 1190)
+++ trunk/src/libopensrf/osrf_settings.c	2008-01-01 01:40:30 UTC (rev 1191)
@@ -36,12 +36,12 @@
 
 	if(!config) {
 
-		osrf_app_session* session = osrf_app_client_session_init("opensrf.settings");
+		osrfAppSession* session = osrf_app_client_session_init("opensrf.settings");
 		jsonObject* params = jsonNewObject(NULL);
 		jsonObjectPush(params, jsonNewObject(hostname));
-		int req_id = osrf_app_session_make_req( 
+		int req_id = osrfAppSessionMakeRequest( 
 			session, params, "opensrf.settings.host_config.get", 1, NULL );
-		osrf_message* omsg = osrf_app_session_request_recv( session, req_id, 60 );
+		osrf_message* omsg = osrfAppSessionRequestRecv( session, req_id, 60 );
 		jsonObjectFree(params);
 
 		if(!omsg) {
@@ -61,7 +61,7 @@
 		}
 
 		osrf_app_session_request_finish( session, req_id );
-		osrf_app_session_destroy( session );
+		osrfAppSessionFree( session );
 
 		if(!config) {
 			osrfLogError( OSRF_LOG_MARK, "Unable to load config for host %s", hostname);



More information about the opensrf-commits mailing list