[libgadu-commit] r770 - trunk/src

Libgadu commit list libgadu-commit at lists.ziew.org
Sun Aug 30 20:25:13 CEST 2009


Author: wojtekka
Date: 2009-08-30 20:25:12 +0200 (Sun, 30 Aug 2009)
New Revision: 770

Modified:
   trunk/src/http.c
Log:
Papierowa torebka (zgłosił darkjames).


Modified: trunk/src/http.c
===================================================================
--- trunk/src/http.c	2009-08-22 22:32:01 UTC (rev 769)
+++ trunk/src/http.c	2009-08-30 18:25:12 UTC (rev 770)
@@ -137,7 +137,7 @@
 			return NULL;
 		}
 
-		if (!(h->fd = gg_connect(&addr, port, 0)) == -1) {
+		if ((h->fd = gg_connect(&addr, port, 0)) == -1) {
 			gg_debug(GG_DEBUG_MISC, "// gg_http_connect() connection failed (errno=%d, %s)\n", errno, strerror(errno));
 			gg_http_free(h);
 			return NULL;



More information about the libgadu-commit mailing list