Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/jabber.c @ 21466:7a05b6f84545
Don't map the port used for bonjour file transfers externally. This adds a new function that will go away in 3.0.0 when we can modify purple_network_do_listen to take an additional parameter.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 13 Nov 2007 04:29:06 +0000 |
parents | e489c81e1f6f |
children | dc703f13449a |
comparison
equal
deleted
inserted
replaced
21465:e489c81e1f6f | 21466:7a05b6f84545 |
---|---|
731 if (bb->conversation == NULL) | 731 if (bb->conversation == NULL) |
732 { | 732 { |
733 PurpleProxyConnectData *connect_data; | 733 PurpleProxyConnectData *connect_data; |
734 PurpleProxyInfo *proxy_info; | 734 PurpleProxyInfo *proxy_info; |
735 | 735 |
736 purple_debug_info("Bonjour", "Starting conversation with %s\n", to); | 736 purple_debug_info("bonjour", "Starting conversation with %s\n", to); |
737 | 737 |
738 /* Make sure that the account always has a proxy of "none". | 738 /* Make sure that the account always has a proxy of "none". |
739 * This is kind of dirty, but proxy_connect_none() isn't exposed. */ | 739 * This is kind of dirty, but proxy_connect_none() isn't exposed. */ |
740 proxy_info = purple_account_get_proxy_info(data->account); | 740 proxy_info = purple_account_get_proxy_info(data->account); |
741 if (proxy_info == NULL) { | 741 if (proxy_info == NULL) { |
926 | 926 |
927 acc = pb->account; | 927 acc = pb->account; |
928 | 928 |
929 for(l = acc->deny; l != NULL; l = l->next) { | 929 for(l = acc->deny; l != NULL; l = l->next) { |
930 if(!purple_utf8_strcasecmp(pb->name, (char *)l->data)) { | 930 if(!purple_utf8_strcasecmp(pb->name, (char *)l->data)) { |
931 purple_debug_info("Bonjour", "%s has been blocked.\n", pb->name, acc->username); | 931 purple_debug_info("bonjour", "%s has been blocked.\n", pb->name, acc->username); |
932 blocked = TRUE; | 932 blocked = TRUE; |
933 break; | 933 break; |
934 } | 934 } |
935 } | 935 } |
936 return blocked; | 936 return blocked; |