GNOME Bugzilla – Bug 731158
gtkbookmarksmanager.c: save_bookmarks, silly strlen
Last modified: 2014-06-28 05:53:39 UTC
The strlen here seems pointless. Either contents->len is good enough, or someone forgot to state why it isn't. if (!g_file_replace_contents (bookmarks_file, contents->str, strlen (contents->str), NULL, FALSE, 0, NULL, NULL, &error))