# HG changeset patch # User Herman Bloggs # Date 1043960088 0 # Node ID 53723b58fe15b93fab7ee79941b1b11148a10a48 # Parent fa2d74e20a898332b031914fe4d3c24f9e389bb2 [gaim-migrate @ 4754] win32 fix for sending buddy icons committer: Tailor Script diff -r fa2d74e20a89 -r 53723b58fe15 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Jan 30 19:24:48 2003 +0000 +++ b/src/protocols/oscar/oscar.c Thu Jan 30 20:54:48 2003 +0000 @@ -1819,7 +1819,7 @@ if (!stat(gc->user->iconfile, &st)) { char *buf = g_malloc(st.st_size); - file = fopen(gc->user->iconfile, "r"); + file = fopen(gc->user->iconfile, "rb"); if (file) { int len = fread(buf, 1, st.st_size, file); debug_printf("Sending buddy icon to %s (%d bytes, %lu reported)\n",