From ededc3673fc01336bb015cbb3ad14072b1a4b784 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 5 Dec 2008 19:32:28 +0000 Subject: [PATCH] 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 --- src/srfsh/srfsh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")); -- 2.43.2