Mercurial > pidgin
comparison src/protocols/qq/group_join.c @ 14050:6342ffdeb3ac
[gaim-migrate @ 16663]
Eliminated some warnings.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Mon, 07 Aug 2006 07:39:00 +0000 |
parents | ef8490f9e823 |
children |
comparison
equal
deleted
inserted
replaced
14049:8294485b79db | 14050:6342ffdeb3ac |
---|---|
152 bytes += create_packet_b(raw_data, &cursor, QQ_GROUP_CMD_JOIN_GROUP_AUTH); | 152 bytes += create_packet_b(raw_data, &cursor, QQ_GROUP_CMD_JOIN_GROUP_AUTH); |
153 bytes += create_packet_dw(raw_data, &cursor, group->internal_group_id); | 153 bytes += create_packet_dw(raw_data, &cursor, group->internal_group_id); |
154 bytes += create_packet_b(raw_data, &cursor, opt); | 154 bytes += create_packet_b(raw_data, &cursor, opt); |
155 bytes += create_packet_dw(raw_data, &cursor, uid); | 155 bytes += create_packet_dw(raw_data, &cursor, uid); |
156 bytes += create_packet_b(raw_data, &cursor, strlen(reason_qq)); | 156 bytes += create_packet_b(raw_data, &cursor, strlen(reason_qq)); |
157 bytes += create_packet_data(raw_data, &cursor, reason_qq, strlen(reason_qq)); | 157 bytes += create_packet_data(raw_data, &cursor, (guint8 *) reason_qq, strlen(reason_qq)); |
158 | 158 |
159 if (bytes != data_len) | 159 if (bytes != data_len) |
160 gaim_debug(GAIM_DEBUG_ERROR, "QQ", | 160 gaim_debug(GAIM_DEBUG_ERROR, "QQ", |
161 "Fail create packet for %s\n", qq_group_cmd_get_desc(QQ_GROUP_CMD_JOIN_GROUP_AUTH)); | 161 "Fail create packet for %s\n", qq_group_cmd_get_desc(QQ_GROUP_CMD_JOIN_GROUP_AUTH)); |
162 else | 162 else |
333 default: | 333 default: |
334 gaim_debug(GAIM_DEBUG_ERROR, "QQ", "Unknown group auth type: %d\n", group->auth_type); | 334 gaim_debug(GAIM_DEBUG_ERROR, "QQ", "Unknown group auth type: %d\n", group->auth_type); |
335 } | 335 } |
336 } | 336 } |
337 | 337 |
338 /*****************************************************************************/ | |
339 void qq_group_exit(GaimConnection *gc, GHashTable *data) | 338 void qq_group_exit(GaimConnection *gc, GHashTable *data) |
340 { | 339 { |
341 gchar *internal_group_id_ptr; | 340 gchar *internal_group_id_ptr; |
342 guint32 internal_group_id; | 341 guint32 internal_group_id; |
343 gc_and_uid *g; | 342 gc_and_uid *g; |