[Opensrf-commits] r1876 - trunk/src/libopensrf (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Dec 16 08:53:09 EST 2009


Author: scottmk
Date: 2009-12-16 08:53:08 -0500 (Wed, 16 Dec 2009)
New Revision: 1876

Modified:
   trunk/src/libopensrf/osrf_app_session.c
Log:
Log a warning message whenever the deprecated function
osrfAppSessionMakeRequest() is called.

M    src/libopensrf/osrf_app_session.c


Modified: trunk/src/libopensrf/osrf_app_session.c
===================================================================
--- trunk/src/libopensrf/osrf_app_session.c	2009-12-15 13:54:14 UTC (rev 1875)
+++ trunk/src/libopensrf/osrf_app_session.c	2009-12-16 13:53:08 UTC (rev 1876)
@@ -488,6 +488,8 @@
 		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 );
 }



More information about the opensrf-commits mailing list