aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/chat.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-15 13:24:25 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-15 13:24:25 +0100
commitbd69a219c0a618354fd80a98dd0d9a04fee755e0 (patch)
treeb4477537e48c6d7b2e5a261aa860a0688d69fb66 /protocols/oscar/chat.c
parent2983f5e8c2d3046bf01337e5caefa3af55ba6bff (diff)
parentbf02a679c61b0f030ee8f2f01698699a7775f7d5 (diff)
Merge Wilmer
Diffstat (limited to 'protocols/oscar/chat.c')
-rw-r--r--protocols/oscar/chat.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/protocols/oscar/chat.c b/protocols/oscar/chat.c
index 60aabc79..033c2577 100644
--- a/protocols/oscar/chat.c
+++ b/protocols/oscar/chat.c
@@ -183,31 +183,6 @@ int aim_chat_send_im(aim_session_t *sess, aim_conn_t *conn, guint16 flags, const
return 0;
}
-static int aim_addtlvtochain_chatroom(aim_tlvlist_t **list, guint16 type, guint16 exchange, const char *roomname, guint16 instance)
-{
- guint8 *buf;
- int buflen;
- aim_bstream_t bs;
-
- buflen = 2 + 1 + strlen(roomname) + 2;
-
- if (!(buf = g_malloc(buflen)))
- return 0;
-
- aim_bstream_init(&bs, buf, buflen);
-
- aimbs_put16(&bs, exchange);
- aimbs_put8(&bs, strlen(roomname));
- aimbs_putraw(&bs, (guint8 *)roomname, strlen(roomname));
- aimbs_put16(&bs, instance);
-
- aim_addtlvtochain_raw(list, type, aim_bstream_curpos(&bs), buf);
-
- g_free(buf);
-
- return 0;
-}
-
/*
* Join a room of name roomname. This is the first step to joining an
* already created room. It's basically a Service Request for