Log a warning message whenever the deprecated function
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Dec 2009 13:53:08 +0000 (13:53 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Dec 2009 13:53:08 +0000 (13:53 +0000)
osrfAppSessionMakeRequest() is called.

M    src/libopensrf/osrf_app_session.c

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

src/libopensrf/osrf_app_session.c

index ba43416..e4f1ecb 100644 (file)
@@ -488,6 +488,8 @@ int osrfAppSessionMakeRequest(
                osrfAppSession* session, const jsonObject* params,
                const char* method_name, int protocol, osrfStringArray* param_strings ) {
 
+       osrfLogWarning( OSRF_LOG_MARK, "Function osrfAppSessionMakeRequest() is deprecasted; "
+                       "call osrfAppSessionSendRequest() instead" );
        return osrfAppSessionMakeLocaleRequest( session, params,
                        method_name, protocol, param_strings, NULL );
 }