comparison src/protocols/yahoo/yahoo.c @ 8357:1f56ea865926

[gaim-migrate @ 9081] " This fixes some bugs in joining a yahoo chat after you've already joined a yahoo chat. these bugs were introduced by me of course. Well, they're half my changes I made in CVS, and half the odd way I coded yahoo chat support to begin with. So yeah, all my fault... This also adds a pos++ like nosnilmot was saying." --Tim (marv) Ringenbach committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 28 Feb 2004 05:48:01 +0000
parents f1ca7e06e8de
children 1556970088d4
comparison
equal deleted inserted replaced
8356:8f2667524c06 8357:1f56ea865926
132 while (pos + 1 < len) { 132 while (pos + 1 < len) {
133 if (data[pos] == 0xc0 && data[pos + 1] == 0x80) 133 if (data[pos] == 0xc0 && data[pos + 1] == 0x80)
134 break; 134 break;
135 if (x >= sizeof(key)-1) { 135 if (x >= sizeof(key)-1) {
136 x++; 136 x++;
137 pos++;
137 continue; 138 continue;
138 } 139 }
139 key[x++] = data[pos++]; 140 key[x++] = data[pos++];
140 } 141 }
141 if (x >= sizeof(key)-1) { 142 if (x >= sizeof(key)-1) {