From: miker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Fri, 5 Dec 2008 19:32:28 +0000 (+0000)
Subject: Patch from Scott McKellar:
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ededc3673fc01336bb015cbb3ad14072b1a4b784;p=opensrf%2Fbjwebb.git

Patch from Scott McKellar:

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



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

diff --git a/src/srfsh/srfsh.c b/src/srfsh/srfsh.c
index e468849..176e239 100644
--- a/src/srfsh/srfsh.c
+++ b/src/srfsh/srfsh.c
@@ -571,7 +571,7 @@ int send_request( char* server,
 
 	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 handle_math( char* words[] ) {
 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"));