$NetBSD: patch-ag,v 1.2 2005/04/04 08:26:29 adam Exp $ --- src/plugins/jabber/jabber_plugin.c.orig 2005-03-06 23:29:02.000000000 +0000 +++ src/plugins/jabber/jabber_plugin.c @@ -1484,9 +1484,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); }