comparison src/protocols/yahoo/yahoo_packet.c @ 13827:6c3c8d0d389f

[gaim-migrate @ 16271] Some comment changes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 17 Jun 2006 01:33:09 +0000
parents d6a799421657
children c070fdec12a3
comparison
equal deleted inserted replaced
13826:475aed3aacfc 13827:6c3c8d0d389f
114 int accept; 114 int accept;
115 int x; 115 int x;
116 116
117 struct yahoo_pair *pair = g_new0(struct yahoo_pair, 1); 117 struct yahoo_pair *pair = g_new0(struct yahoo_pair, 1);
118 118
119 /* this is weird, and in one of the chat packets, and causes us 119 /* this is weird, and in one of the chat packets, and causes us to
120 * think all the values are keys and all the keys are values after 120 * think all the values are keys and all the keys are values after
121 * this point if we don't handle it */ 121 * this point if we don't handle it */
122 if (data[pos] == '\0') { 122 if (data[pos] == '\0') {
123 while (pos + 1 < len) { 123 while (pos + 1 < len) {
124 if (data[pos] == 0xc0 && data[pos + 1] == 0x80) 124 if (data[pos] == 0xc0 && data[pos + 1] == 0x80)