[Opensrf-commits] r1520 - trunk/src/srfsh

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Dec 5 14:32:32 EST 2008


Author: miker
Date: 2008-12-05 14:32:28 -0500 (Fri, 05 Dec 2008)
New Revision: 1520

Modified:
   trunk/src/srfsh/srfsh.c
Log:
Patch from Scott McKellar:

I stumbled across another redundant and deprecated identifier.  This
patch replaces osrf_app_session_connect with osrfAppSessionConnect.



Modified: trunk/src/srfsh/srfsh.c
===================================================================
--- trunk/src/srfsh/srfsh.c	2008-12-05 19:29:27 UTC (rev 1519)
+++ trunk/src/srfsh/srfsh.c	2008-12-05 19:32:28 UTC (rev 1520)
@@ -571,7 +571,7 @@
 
 	osrfAppSession* session = osrfAppSessionClientInit(server);
 
-	if(!osrf_app_session_connect(session)) {
+	if(!osrfAppSessionConnect(session)) {
 		fprintf(stderr, "Unable to communicate with service %s\n", server);
 		osrfLogWarning( OSRF_LOG_MARK,  "Unable to connect to remote service %s\n", server );
 		jsonObjectFree(params);
@@ -835,7 +835,7 @@
 static int do_math( int count, int style ) {
 
 	osrfAppSession* session = osrfAppSessionClientInit( "opensrf.math" );
-	osrf_app_session_connect(session);
+	osrfAppSessionConnect(session);
 
 	jsonObject* params = jsonParseString("[]");
 	jsonObjectPush(params,jsonNewObject("1"));



More information about the opensrf-commits mailing list