--- a/src/protocols/oscar/oscar.c Sat Feb 28 18:53:54 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sat Feb 28 20:28:22 2004 +0000 @@ -4432,7 +4432,7 @@ } if (iconfile && !stat(iconfile, &st)) { - FILE *file = fopen(iconfile, "r"); + FILE *file = fopen(iconfile, "rb"); if (file) { char *buf = g_malloc(st.st_size); fread(buf, 1, st.st_size, file);