diff options
Diffstat (limited to 'src/core/net-sendbuffer.h')
-rw-r--r-- | src/core/net-sendbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net-sendbuffer.h b/src/core/net-sendbuffer.h index 6b2ff372..848db9ec 100644 --- a/src/core/net-sendbuffer.h +++ b/src/core/net-sendbuffer.h @@ -14,7 +14,7 @@ void net_sendbuffer_destroy(NET_SENDBUF_REC *rec, int close); /* Send data, if all of it couldn't be sent immediately, it will be resent automatically after a while. Returns -1 if some unrecoverable error occured. */ -int net_sendbuffer_send(NET_SENDBUF_REC *rec, void *data, int size); +int net_sendbuffer_send(NET_SENDBUF_REC *rec, const void *data, int size); /* Returns the socket handle */ int net_sendbuffer_handle(NET_SENDBUF_REC *rec); |