diff libpurple/protocols/gg/lib/http.c @ 32302:ef01f180114b

Gadu-Gadu: synchronize internal libgadu with upstream. Refs #343
author tomkiewicz@cpw.pidgin.im
date Tue, 18 Oct 2011 00:55:59 +0000
parents 3a90a59ddea2
children e2ff2ac0e022
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/http.c	Mon Oct 17 21:25:53 2011 +0000
+++ b/libpurple/protocols/gg/lib/http.c	Tue Oct 18 00:55:59 2011 +0000
@@ -258,7 +258,7 @@
 	}
 
 	if (h->state == GG_STATE_SENDING_QUERY) {
-		size_t res;
+		ssize_t res;
 
 		if ((res = write(h->fd, h->query, strlen(h->query))) < 1) {
 			gg_debug(GG_DEBUG_MISC, "=> http, write() failed (len=%d, res=%d, errno=%d)\n", strlen(h->query), res, errno);