summaryrefslogtreecommitdiff
path: root/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.h')
-rw-r--r--sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sockets.h b/sockets.h
index 86df31f..25661c3 100644
--- a/sockets.h
+++ b/sockets.h
@@ -29,7 +29,7 @@ for more info.
int sock_connect (char *host, unsigned short int port);
int sock_close (int fd);
// Send/receive lines of text
-int sock_send_string (int fd, char *string);
+int sock_send_string (int fd, const char *string);
// Recv gives only one line per call...
int sock_recv_string (int fd, char *dest, size_t maxlen);
// Send/receive raw data