pkgsrc/chat/gg2/patches/patch-ah
adam 8bd950d133 Changes 2.2.5:
* Support for Perl scripts is turned off
* Support for skins compatible with Gadu-Gadu
* Fixes and stabilisation of the code for status changes
* Fixes in tlen.pl plug-in
* Now builds basic modules on MacOSX
* Improvements of "dockapp" plug-in
2005-04-04 08:26:29 +00:00

24 lines
1,001 B
Text

$NetBSD: patch-ah,v 1.2 2005/04/04 08:26:29 adam Exp $
--- src/plugins/jabber/jabber_login.c.orig 2005-02-17 22:28:33.000000000 +0000
+++ src/plugins/jabber/jabber_login.c
@@ -85,15 +85,15 @@ gpointer jabber_login_connect(gpointer s
if (!jabber_data.connection || !lm_connection_is_open(jabber_data.connection))
{
- print_debug("jabber: Connecting to %s with %s", server,jid);
- jabber_data.connection = lm_connection_new(server);
- lm_connection_set_keep_alive_rate(jabber_data.connection,30);
-
/* proxy setting taken from EKG project */
gint jabber_proxy_enabled = 0;
gchar *jabber_proxy_host = NULL;
gint jabber_proxy_port;
+ print_debug("jabber: Connecting to %s with %s", server,jid);
+ jabber_data.connection = lm_connection_new(server);
+ lm_connection_set_keep_alive_rate(jabber_data.connection,30);
+
if (ggadu_config_var_check(jabber_handler, "proxy"))
{
gchar **auth = array_make((gchar *) ggadu_config_var_get(jabber_handler, "proxy"), "@", 0, 0, 0);