comparison src/protocols/oscar/oscar.c @ 8361:8ef2f2043902

[gaim-migrate @ 9086] Windows is teh suck. Want to know why?! http://sourceforge.net/tracker/?func=detail&aid=839706&group_id=235&atid=100235 (I haven't actually responded yet, I'm going to in a minute) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 28 Feb 2004 20:28:22 +0000
parents 05c174138e94
children 19459d9eead2
comparison
equal deleted inserted replaced
8360:8d012c803411 8361:8ef2f2043902
4430 args.flags |= AIM_IMFLAGS_BUDDYREQ; 4430 args.flags |= AIM_IMFLAGS_BUDDYREQ;
4431 bi->ico_need = FALSE; 4431 bi->ico_need = FALSE;
4432 } 4432 }
4433 4433
4434 if (iconfile && !stat(iconfile, &st)) { 4434 if (iconfile && !stat(iconfile, &st)) {
4435 FILE *file = fopen(iconfile, "r"); 4435 FILE *file = fopen(iconfile, "rb");
4436 if (file) { 4436 if (file) {
4437 char *buf = g_malloc(st.st_size); 4437 char *buf = g_malloc(st.st_size);
4438 fread(buf, 1, st.st_size, file); 4438 fread(buf, 1, st.st_size, file);
4439 fclose(file); 4439 fclose(file);
4440 4440