aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-11 09:53:58 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-11 09:53:58 +0100
commit72176c140636532347141dc011959d676df50d2f (patch)
treecfde18ed62ff773e44cc6ceed63e5b2283f0a788 /protocols/jabber/jabber.c
parentffdf2e71d9e67980727aa994b77fca36ef5246c6 (diff)
Small bug in the previous change: NULL-initialize srv.
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index e3717526..f7e1e664 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -95,7 +95,7 @@ static void jabber_login( account_t *acc )
{
struct im_connection *ic = imcb_new( acc );
struct jabber_data *jd = g_new0( struct jabber_data, 1 );
- struct ns_srv_reply **srvl = NULL, *srv;
+ struct ns_srv_reply **srvl = NULL, *srv = NULL;
char *connect_to, *s;
int i;