changed some config file stuff so it's not router specific
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Feb 2005 20:51:02 +0000 (20:51 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Feb 2005 20:51:02 +0000 (20:51 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@23 9efc2488-bf62-4759-914b-345cdb29e865

src/libtransport/Makefile
src/libtransport/generic_utils.c

index cefee64..aa731ce 100644 (file)
@@ -9,12 +9,11 @@ LIB_SOURCES = generic_utils.c transport_socket.c transport_session.c transport_m
 
 TARGETS=generic_utils.o transport_socket.o transport_message.o transport_session.o transport_client.o 
 
+all: basic_client
+
 basic_client: lib
        $(CC) $(CC_OPTS) $(EXE_LD_OPTS) basic_client.c -o $@
 
-test: lib
-       $(CC) $(CC_OPTS) $(EXE_LD_OPTS) test.c -o $@
-
 
 # --- Libs -----------------------------------------------
        
index d4b526d..e6c9a13 100644 (file)
@@ -160,7 +160,7 @@ int _init_log() {
                //fprintf( stderr, "No config file specified" );
        }
 
-       char* log_level_str = config_value( "//router/log/level");
+       char* log_level_str = config_value( "//log/level");
        if( log_level_str == NULL ) {
        //      fprintf( stderr, "No log level specified" );
                return 0;
@@ -169,7 +169,7 @@ int _init_log() {
        free(log_level_str);
 
        /* see if we have a log file yet */
-       char* f = config_value("//router/log/file");
+       char* f = config_value("//log/file");
 
        if( f == NULL ) {
                // fprintf( stderr, "No log file specified" );