summaryrefslogtreecommitdiff
path: root/src/ivysocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivysocket.c')
-rw-r--r--src/ivysocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivysocket.c b/src/ivysocket.c
index 6a0cbf3..9191368 100644
--- a/src/ivysocket.c
+++ b/src/ivysocket.c
@@ -396,7 +396,7 @@ void *SocketGetData (Client client )
{
return client ? client->data : 0;
}
-void SocketSendBuf (Client client, char *buffer, int len )
+void SocketSendBuf (Client client, const char *buffer, int len )
{
unsigned long usedspace;
if (!client)
@@ -413,7 +413,7 @@ void SocketSendBuf (Client client, char *buffer, int len )
}
-void SocketSendFmt (Client client, char *fmt, ... )
+void SocketSendFmt (Client client, const char *fmt, ... )
{
va_list ap;
if (!client)