Mercurial > pidgin
comparison libpurple/protocols/qq/qq_network.c @ 24647:6591f7056b3a
Code clean
author | Hu Yong <ccpaging@gmail.com> |
---|---|
date | Wed, 19 Nov 2008 08:37:07 +0000 |
parents | c69c337269e1 |
children | fecedf6d9ee1 |
comparison
equal
deleted
inserted
replaced
24646:2ae0085bb0ca | 24647:6591f7056b3a |
---|---|
1242 | 1242 |
1243 /* encap room_cmd and room id to buf*/ | 1243 /* encap room_cmd and room id to buf*/ |
1244 buf_len = 0; | 1244 buf_len = 0; |
1245 buf_len += qq_put8(buf + buf_len, room_cmd); | 1245 buf_len += qq_put8(buf + buf_len, room_cmd); |
1246 if (room_id != 0) { | 1246 if (room_id != 0) { |
1247 /* id 0 is for QQ Demo Group, now there are not existed*/ | 1247 /* id 0 is for QQ Demo Group, now they are closed*/ |
1248 buf_len += qq_put32(buf + buf_len, room_id); | 1248 buf_len += qq_put32(buf + buf_len, room_id); |
1249 } | 1249 } |
1250 if (data != NULL && data_len > 0) { | 1250 if (data != NULL && data_len > 0) { |
1251 buf_len += qq_putdata(buf + buf_len, data, data_len); | 1251 buf_len += qq_putdata(buf + buf_len, data, data_len); |
1252 } | 1252 } |