blob: f5b194f923bbb0d7991ac31738b57fdac5150cc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ag,v 1.3 2005/05/27 13:47:05 adam Exp $
--- src/plugins/jabber/jabber_plugin.c.orig 2005-05-20 16:20:12.000000000 +0000
+++ src/plugins/jabber/jabber_plugin.c
@@ -1489,9 +1489,10 @@ void start_plugin()
if (ggadu_config_var_get(jabber_handler, "autoconnect"))
{
+ GGaduStatusPrototype *sp;
gint auto_status = (gint) ggadu_config_var_get(jabber_handler, "auto_status");
print_debug("jabber: autoconneting");
- GGaduStatusPrototype *sp = ggadu_find_status_prototype(p, auto_status ? auto_status : JABBER_STATUS_AVAILABLE);
+ sp = ggadu_find_status_prototype(p, auto_status ? auto_status : JABBER_STATUS_AVAILABLE);
jabber_change_status(sp, FALSE);
GGaduStatusPrototype_free(sp);
}
|