changeset 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 8d012c803411
children 1976914caa51
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);