pidgin: 9d2e66fa: Close up scope of a variable, I'm just c...
deryni at pidgin.im
deryni at pidgin.im
Thu May 15 23:01:55 EDT 2008
-----------------------------------------------------------------
Revision: 9d2e66fa6a8265d3cffb16f084ddb39903e0a36c
Ancestor: 00ce0707d6af91e813c28ff5abd6be2dc7d596e5
Author: deryni at pidgin.im
Date: 2008-05-13T00:12:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d2e66fa6a8265d3cffb16f084ddb39903e0a36c
Modified files:
libpurple/protocols/jabber/chat.c
ChangeLog:
Close up scope of a variable, I'm just cleaning up my tree some.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/chat.c 922040aed6450ac224b540538183be49daf143d6
+++ libpurple/protocols/jabber/chat.c 05ad189becd5841d2d0f6432308ae2bf0d695765
@@ -95,11 +95,10 @@ JabberChat *jabber_chat_find(JabberStrea
const char *server)
{
JabberChat *chat = NULL;
- char *room_jid;
if(NULL != js->chats)
{
- room_jid = g_strdup_printf("%s@%s", room, server);
+ char *room_jid = g_strdup_printf("%s@%s", room, server);
chat = g_hash_table_lookup(js->chats, jabber_normalize(NULL, room_jid));
g_free(room_jid);
More information about the Commits
mailing list