From: scottmk Date: Sat, 12 Sep 2009 17:59:39 +0000 (+0000) Subject: In osrfAppSessionClientInit(): added a const X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1385faffad8b5fbcc058480ddf7dc60c5f73b58f;p=opensrf%2Fbjwebb.git In osrfAppSessionClientInit(): added a const qualifier to domain. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1779 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libopensrf/osrf_app_session.c b/src/libopensrf/osrf_app_session.c index 2ede84d..a62240a 100644 --- a/src/libopensrf/osrf_app_session.c +++ b/src/libopensrf/osrf_app_session.c @@ -267,7 +267,7 @@ osrfAppSession* osrfAppSessionClientInit( const char* remote_service ) { 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");