Mercurial > pidgin.yaz
diff libpurple/protocols/gg/lib/dcc.c @ 31860:93b08d43f684
matekm and kkszysiu collaborated on this patch to update our internal libgadu
to version 1.10.1.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Thu, 24 Mar 2011 20:53:13 +0000 |
parents | db6735e579f8 |
children | 3a90a59ddea2 |
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/dcc.c Thu Mar 24 15:18:14 2011 +0000 +++ b/libpurple/protocols/gg/lib/dcc.c Thu Mar 24 20:53:13 2011 +0000 @@ -1,4 +1,4 @@ -/* $Id: dcc.c 711 2009-04-16 00:52:47Z darkjames $ */ +/* $Id: dcc.c 1023 2010-11-16 18:27:35Z wojtekka $ */ /* * (C) Copyright 2001-2008 Wojtek Kaniewski <wojtekka@irc.pl> @@ -421,7 +421,7 @@ return NULL; } - if (!port) + if (port == 0 || port == -1) port = GG_DEFAULT_DCC_PORT; while (!bound) {