From b4c72fcd2300ea87e32a0b460e3c992e6416bcf9 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 21 May 2007 01:46:39 +0000 Subject: [PATCH] const-ification git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@906 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libtransport/transport_client.c | 2 +- src/libtransport/transport_session.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 = -- 2.11.0