| 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) |