aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sockio-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sockio-c.c')
-rw-r--r--src/lib/sockio-c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c
index a7efa4e2..21ef5504 100644
--- a/src/lib/sockio-c.c
+++ b/src/lib/sockio-c.c
@@ -971,7 +971,7 @@ sock_send_wakeup(int purpose)
}
OPENAXIOM_C_EXPORT openaxiom_sio *
-connect_to_local_server_new(char *server_name, int purpose, int time_out)
+connect_to_local_server_new(const char *server_name, int purpose, int time_out)
{
int max_con=(time_out == 0 ? 1000000 : time_out), i, code=-1;
openaxiom_sio *sock;
@@ -1023,7 +1023,7 @@ connect_to_local_server_new(char *server_name, int purpose, int time_out)
}
OPENAXIOM_C_EXPORT openaxiom_sio *
-connect_to_local_server(char *server_name, int purpose, int time_out)
+connect_to_local_server(const char *server_name, int purpose, int time_out)
{
int max_con=(time_out == 0 ? 1000000 : time_out), i, code=-1;
openaxiom_sio *sock;