im.pidgin.pidgin: 521a02708a29c2d4c933477bab544075f089526f
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Sun Nov 11 11:00:33 EST 2007
-----------------------------------------------------------------
Revision: 521a02708a29c2d4c933477bab544075f089526f
Ancestor: c678873d229ff61f387ec590bb738ed969571a2e
Author: nosnilmot at pidgin.im
Date: 2007-11-11T15:57:35
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/gg/gg.c
ChangeLog:
I think this is what the fwrite is actually meant to be doing.
-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c 50334db6c9e022e9ac601aa0ec7ac67f43302dc5
+++ libpurple/protocols/gg/gg.c 9e90844fd182f1ffc19675eb9099959408a1c0ad
@@ -281,7 +281,7 @@ static void ggp_callback_buddylist_save_
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);
More information about the Commits
mailing list