/pidgin/main: da1a0c49f291: Fix bonjour warning

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue May 6 06:25:55 EDT 2014


Changeset: da1a0c49f2912e5450185d253b83f676d111f79e
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-06 12:25 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/da1a0c49f291

Description:

Fix bonjour warning

diffstat:

 libpurple/protocols/bonjour/bonjour_ft.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/bonjour/bonjour_ft.c b/libpurple/protocols/bonjour/bonjour_ft.c
--- a/libpurple/protocols/bonjour/bonjour_ft.c
+++ b/libpurple/protocols/bonjour/bonjour_ft.c
@@ -945,7 +945,7 @@ bonjour_bytestreams_listen(int sock, gpo
 
 	local_ips = bonjour_jabber_get_local_ips(sock);
 
-	port = g_strdup_printf("%hu", xfer->local_port);
+	port = g_strdup_printf("%hu", (guint16)purple_xfer_get_local_port(xfer));
 	while(local_ips) {
 		streamhost = xmlnode_new_child(query, "streamhost");
 		xmlnode_set_attrib(streamhost, "jid", xf->sid);



More information about the Commits mailing list