From: miker Date: Mon, 21 May 2007 01:46:39 +0000 (+0000) Subject: const-ification X-Git-Tag: osrf_rel_2_0_1~1005 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b4c72fcd2300ea87e32a0b460e3c992e6416bcf9;p=OpenSRF.git const-ification git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@906 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libtransport/transport_client.c b/src/libtransport/transport_client.c index 32e3920..9587711 100644 --- a/src/libtransport/transport_client.c +++ b/src/libtransport/transport_client.c @@ -45,7 +45,7 @@ int main( int argc, char** argv ) { */ -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 ) { if(server == NULL) return NULL; diff --git a/src/libtransport/transport_session.c b/src/libtransport/transport_session.c index 3654e6a..1e685c7 100644 --- a/src/libtransport/transport_session.c +++ b/src/libtransport/transport_session.c @@ -6,8 +6,8 @@ // returns a built and allocated transport_session object. // This codes does no network activity, only memory initilization // --------------------------------------------------------------------------------- -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 ) { /* create the session struct */ transport_session* session =