Mercurial > pidgin
changeset 7332:803c7238f6d8
[gaim-migrate @ 7920]
fix crash on jabber invite
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 26 Oct 2003 04:51:09 +0000 |
parents | bfb3dccfd6ce |
children | 6338cb1768ea |
files | src/protocols/jabber/message.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/message.c Sun Oct 26 00:27:46 2003 +0000 +++ b/src/protocols/jabber/message.c Sun Oct 26 04:51:09 2003 +0000 @@ -198,10 +198,12 @@ components = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); - g_hash_table_replace(components, g_strdup("room"), jid->node); - g_hash_table_replace(components, g_strdup("server"), jid->node); - g_hash_table_replace(components, g_strdup("handle"), jm->js->user->node); - g_hash_table_replace(components, g_strdup("password"), jm->password); + g_hash_table_replace(components, g_strdup("room"), g_strdup(jid->node)); + g_hash_table_replace(components, g_strdup("server"), g_strdup(jid->node)); + g_hash_table_replace(components, g_strdup("handle"), + g_strdup(jm->js->user->node)); + g_hash_table_replace(components, g_strdup("password"), + g_strdup(jm->password)); jabber_id_free(jid); serv_got_chat_invite(jm->js->gc, jm->to, jm->from, jm->body, components);