1. Changed osrfLogFacilityToInt() so that it accepts
[OpenSRF.git] / src / libopensrf / log.c
index aca653e..7cb9232 100644 (file)
@@ -299,7 +299,7 @@ static void _osrfLogToFile( const char* msg, ... ) {
 }
 
 
-int osrfLogFacilityToInt( char* facility ) {
+int osrfLogFacilityToInt( const char* facility ) {
        if(!facility) return LOG_LOCAL0;
        if(strlen(facility) < 6) return LOG_LOCAL0;
        switch( facility[5] ) {