Sun, 11 Nov 2007 15:57:35 +0000
I think this is what the fwrite is actually meant to be doing.
| libpurple/protocols/gg/gg.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/gg/gg.c Sun Nov 11 14:40:16 2007 +0000 +++ b/libpurple/protocols/gg/gg.c Sun Nov 11 15:57:35 2007 +0000 @@ -281,7 +281,7 @@ return; } - if (!fwrite(buddylist, sizeof(char), g_utf8_strlen(buddylist, -1), fh)) { + if (!fwrite(buddylist, strlen(buddylist), 1, fh)) { const gchar *err = g_strerror(errno); gchar *title = g_strdup_printf( _("Couldn't write buddylist to %s"), err);