aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-05-07 20:04:47 -0300
committerdequis <dx@dxzone.com.ar>2015-05-07 20:12:06 -0300
commit5535a47f4c2b9def68356d1ced9a149a7197f32c (patch)
tree9c05160494a67119c0f3c27ad42a4606694fa4c0 /protocols/jabber/jabber.c
parent81a15dab997b9dc3f94d46ebee331cf61fc2e43d (diff)
More coverity fixes!
CID 18634: 'Logically dead code' in jabber_get_info CID 18638: 'Dereference after null check' in oauth2_access_token_done CID 18691: 'Copy into fixed size buffer' in bee_irc_user_new CID 20274: Leak in bee_irc_chat_invite CID 20297, CID 20283: Leaks in crypt_main Some the base64 leaks there weren't detected, needs modeling.
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 2db026cd..04db365e 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -427,7 +427,7 @@ static void jabber_get_info(struct im_connection *ic, char *who)
bud = bud->next;
}
- jabber_get_vcard(ic, bud ? bud->full_jid : who);
+ jabber_get_vcard(ic, who);
}
static void jabber_set_away(struct im_connection *ic, char *state_txt, char *message)