mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
net_sendbuffer_send(): use const void *data instead of void *data
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@521 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
76be0d746e
commit
7f3f53bffe
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue