1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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);
|