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

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Sep 12 13:59:43 EDT 2009


Author: scottmk
Date: 2009-09-12 13:59:39 -0400 (Sat, 12 Sep 2009)
New Revision: 1779

Modified:
   trunk/src/libopensrf/osrf_app_session.c
Log:
In osrfAppSessionClientInit(): added a const
qualifier to domain.


Modified: trunk/src/libopensrf/osrf_app_session.c
===================================================================
--- trunk/src/libopensrf/osrf_app_session.c	2009-09-12 17:53:39 UTC (rev 1778)
+++ trunk/src/libopensrf/osrf_app_session.c	2009-09-12 17:59:39 UTC (rev 1779)
@@ -267,7 +267,7 @@
 
 	osrfStringArray* arr = osrfNewStringArray(8);
 	osrfConfigGetValueList(NULL, arr, "/domain");
-	char* domain = osrfStringArrayGetString(arr, 0);
+	const char* domain = osrfStringArrayGetString(arr, 0);
 
 	if (!domain) {
 		osrfLogWarning( OSRF_LOG_MARK, "No domains specified in the OpenSRF config file");



More information about the opensrf-commits mailing list