reordering breakage; const qualifier in header
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 21 May 2007 01:53:27 +0000 (01:53 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 21 May 2007 01:53:27 +0000 (01:53 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@908 9efc2488-bf62-4759-914b-345cdb29e865

src/libstack/osrf_system.c
src/libtransport/transport_client.h
src/libtransport/transport_session.h

index 7680bba..fcc17d2 100644 (file)
@@ -179,7 +179,6 @@ int osrf_system_bootstrap_client_resc( char* config_file, char* contextnode, cha
                free(unixpath);
                free(facility);
                free(actlog);
-               free(domain);
                return -1;
        }
 
@@ -270,7 +269,6 @@ int osrf_system_bootstrap_client_resc( char* config_file, char* contextnode, cha
        free(password);
        free(port);     
        free(unixpath);
-       free(domain);
 
        if(__osrfGlobalTransportClient)
                return 1;
index aa0b921..50a2c66 100644 (file)
@@ -42,7 +42,7 @@ typedef struct transport_client_struct transport_client;
 // if port > 0 => connect via TCP
 // else if unix_path != NULL => connect via UNIX socket
 // ---------------------------------------------------------------------------
-transport_client* client_init( char* server, int port, char* unix_path, int component );
+transport_client* client_init( const char* server, int port, const char* unix_path, int component );
 
 
 // ---------------------------------------------------------------------------
index ba02e5b..78d108b 100644 (file)
@@ -186,8 +186,8 @@ typedef struct transport_session_struct transport_session;
 // If port > 0, then this session uses  TCP connection.  Otherwise,
 // if unix_path != NULL, it uses a UNIX domain socket.
 // ------------------------------------------------------------------
-transport_session* init_transport( char* server, int port, 
-       char* unix_path, void* user_data, int component );
+transport_session* init_transport( const char* server, int port, 
+       const char* unix_path, void* user_data, int component );
 
 // ------------------------------------------------------------------
 // Returns the value of the given XML attribute