about summary refs log tree commit diff stats
path: root/src/jabber.c
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2013-01-12 23:52:00 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2013-01-12 23:52:00 +0200
commit492a333294d75ef60af1ebd16c063b217a0d2180 (patch)
treef64329fe348a7a0a93993b835492862428c18ad4 /src/jabber.c
parentd04c7d070a6a36291b940d40b2bb708e0f73b410 (diff)
downloadprofani-tty-492a333294d75ef60af1ebd16c063b217a0d2180.tar.gz
room_jid should be (char *)
Diffstat (limited to 'src/jabber.c')
-rw-r--r--src/jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jabber.c b/src/jabber.c
index 52b9ac0d..047c77e3 100644
--- a/src/jabber.c
+++ b/src/jabber.c
@@ -536,7 +536,7 @@ _groupchat_message_handler(xmpp_stanza_t * const stanza)
     char *room = NULL;
     char *nick = NULL;
     char *message = NULL;
-    gchar *room_jid = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
+    char *room_jid = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
 
     // handle room broadcasts
     if (jid_is_room(room_jid)) {