Mercurial > pidgin
diff src/protocols/msn/httpconn.c @ 13270:8754a0fe2297
[gaim-migrate @ 15636]
Fix signedness problems
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 13 Feb 2006 04:27:52 +0000 |
parents | 33bef17125c2 |
children | 2a9580fc922b |
line wrap: on
line diff
--- a/src/protocols/msn/httpconn.c Mon Feb 13 04:11:39 2006 +0000 +++ b/src/protocols/msn/httpconn.c Mon Feb 13 04:27:52 2006 +0000 @@ -400,8 +400,7 @@ return; } - if (servconn->rx_buf != NULL) - g_free(servconn->rx_buf); + g_free(servconn->rx_buf); servconn->rx_buf = result_msg; servconn->rx_len = result_len; @@ -464,7 +463,7 @@ g_free(old_rx_buf); } -size_t +ssize_t msn_httpconn_write(MsnHttpConn *httpconn, const char *body, size_t size) { char *params; @@ -472,7 +471,7 @@ char *auth; const char *server_types[] = { "NS", "SB" }; const char *server_type; - size_t r; /* result of the write operation */ + ssize_t r; /* result of the write operation */ char *host; MsnServConn *servconn;