mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
unsigned long -> gsize
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3131 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1826812c9d
commit
1d31048105
@ -362,7 +362,7 @@ GIOChannel *net_accept(GIOChannel *handle, IPADDR *addr, int *port)
|
|||||||
/* Read data from socket, return number of bytes read, -1 = error */
|
/* Read data from socket, return number of bytes read, -1 = error */
|
||||||
int net_receive(GIOChannel *handle, char *buf, int len)
|
int net_receive(GIOChannel *handle, char *buf, int len)
|
||||||
{
|
{
|
||||||
unsigned long ret;
|
gsize ret;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
g_return_val_if_fail(handle != NULL, -1);
|
g_return_val_if_fail(handle != NULL, -1);
|
||||||
@ -381,7 +381,7 @@ int net_receive(GIOChannel *handle, char *buf, int len)
|
|||||||
/* Transmit data, return number of bytes sent, -1 = error */
|
/* Transmit data, return number of bytes sent, -1 = error */
|
||||||
int net_transmit(GIOChannel *handle, const char *data, int len)
|
int net_transmit(GIOChannel *handle, const char *data, int len)
|
||||||
{
|
{
|
||||||
unsigned long ret;
|
gsize ret;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
g_return_val_if_fail(handle != NULL, -1);
|
g_return_val_if_fail(handle != NULL, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user