Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 2603:24664768a739
[gaim-migrate @ 2616]
i shouldn't have modified gaim.h like i did. *slaps own wrists* Do as I say, not as I do.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 25 Oct 2001 05:05:05 +0000 |
parents | 2ced57c58653 |
children | 6781ee2b9db0 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Oct 25 02:30:12 2001 +0000 +++ b/src/protocols/oscar/oscar.c Thu Oct 25 05:05:05 2001 +0000 @@ -1338,8 +1338,9 @@ char *buf = g_malloc(st.st_size); file = fopen(gc->user->iconfile, "r"); if (file) { - fread(buf, 1, st.st_size, file); - debug_printf("Sending buddy icon to %s\n", userinfo->sn); + int len = fread(buf, 1, st.st_size, file); + debug_printf("Sending buddy icon to %s (%d bytes, %d reported)\n", + userinfo->sn, len, st.st_size); aim_send_icon(sess, conn, userinfo->sn, buf, st.st_size, st.st_mtime, aim_iconsum(buf, st.st_size)); fclose(file);