Mercurial > pidgin.yaz
diff libpurple/protocols/msn/httpconn.c @ 23750:d3262085b7a7
Fix up some types.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 10 Aug 2008 04:59:17 +0000 |
parents | faaa1b36a9b2 |
children | 3520b566ce25 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/httpconn.c Sun Aug 10 01:21:17 2008 +0000 +++ b/libpurple/protocols/msn/httpconn.c Sun Aug 10 04:59:17 2008 +0000 @@ -274,7 +274,8 @@ MsnSession *session; char buf[MSN_BUF_LEN]; char *cur, *end, *old_rx_buf; - int len, cur_len; + gssize len; + int cur_len; char *result_msg = NULL; size_t result_len = 0; gboolean error = FALSE; @@ -405,7 +406,8 @@ httpconn_write_cb(gpointer data, gint source, PurpleInputCondition cond) { MsnHttpConn *httpconn; - int ret, writelen; + gssize ret; + int writelen; httpconn = data; writelen = purple_circ_buffer_get_max_read(httpconn->tx_buf); @@ -727,7 +729,8 @@ } else { - purple_debug_error("msn", "HTTP: Connection error\n"); + purple_debug_error("msn", "HTTP: Connection error: %s\n", + error_message ? error_message : "(null)"); msn_servconn_got_error(httpconn->servconn, MSN_SERVCONN_ERROR_CONNECT); } }