comparison src/util.c @ 8907:00138e366ef8

[gaim-migrate @ 9677] " Fixes a few warnings on 64bit machines. Also fixes yahoo auth on 64bit machines which would have taken me awhile if marv didn't point me in the right direction. I've applied to my local 32bit copy and everything seems to be working fine." --Gary Kramlich committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 08 May 2004 23:34:30 +0000
parents ae3f33870550
children c34e4e6128f3
comparison
equal deleted inserted replaced
8906:0d3a68e36132 8907:00138e366ef8
300 * They are of this form: =?charset?encoding?text?= 300 * They are of this form: =?charset?encoding?text?=
301 */ 301 */
302 302
303 for (unencoded = cur = str; (encoded = cur = strstr(cur, "=?")); unencoded = cur) { 303 for (unencoded = cur = str; (encoded = cur = strstr(cur, "=?")); unencoded = cur) {
304 gboolean found_word = FALSE; 304 gboolean found_word = FALSE;
305 int i, num, len, dec_len; 305 int i, num, dec_len;
306 gsize len;
306 char *decoded, *converted; 307 char *decoded, *converted;
307 char *tokens[3]; 308 char *tokens[3];
308 309
309 /* Let's look for tokens, they are between ?'s */ 310 /* Let's look for tokens, they are between ?'s */
310 for (cur += 2, mark = cur, num = 0; *cur; cur++) { 311 for (cur += 2, mark = cur, num = 0; *cur; cur++) {