| 269 q_bud = g_new0(qq_buddy, 1); |
269 q_bud = g_new0(qq_buddy, 1); |
| 270 bytes = 0; |
270 bytes = 0; |
| 271 /* 000-003: uid */ |
271 /* 000-003: uid */ |
| 272 bytes += read_packet_dw(data, &cursor, len, &q_bud->uid); |
272 bytes += read_packet_dw(data, &cursor, len, &q_bud->uid); |
| 273 /* 004-005: icon index (1-255) */ |
273 /* 004-005: icon index (1-255) */ |
| 274 bytes += read_packet_w(data, &cursor, len, &q_bud->icon); |
274 bytes += read_packet_w(data, &cursor, len, &q_bud->face); |
| 275 /* 006-006: age */ |
275 /* 006-006: age */ |
| 276 bytes += read_packet_b(data, &cursor, len, &q_bud->age); |
276 bytes += read_packet_b(data, &cursor, len, &q_bud->age); |
| 277 /* 007-007: gender */ |
277 /* 007-007: gender */ |
| 278 bytes += read_packet_b(data, &cursor, len, &q_bud->gender); |
278 bytes += read_packet_b(data, &cursor, len, &q_bud->gender); |
| 279 pascal_len = convert_as_pascal_string(cursor, &q_bud->nickname, QQ_CHARSET_DEFAULT); |
279 pascal_len = convert_as_pascal_string(cursor, &q_bud->nickname, QQ_CHARSET_DEFAULT); |