# HG changeset patch # User Daniel Atallah # Date 1137970298 0 # Node ID fbdc9e7ef77a0f57785ae8eb7beab57242a1c327 # Parent 595f690399e43cac05a8f1c264bf84e055e3f88a [gaim-migrate @ 15349] Bleeter updated the buddy icon logging to be more consistent and verbose committer: Tailor Script diff -r 595f690399e4 -r fbdc9e7ef77a src/buddyicon.c --- a/src/buddyicon.c Sun Jan 22 22:37:04 2006 +0000 +++ b/src/buddyicon.c Sun Jan 22 22:51:38 2006 +0000 @@ -213,6 +213,7 @@ g_unlink(filename); g_free(filename); } + gaim_debug_info("buddyicon", "Uncached file %s\n", old_icon); } void @@ -241,11 +242,11 @@ if (!g_file_test(dirname, G_FILE_TEST_IS_DIR)) { - gaim_debug_info("buddy icons", "Creating icon cache directory.\n"); + gaim_debug_info("buddyicon", "Creating icon cache directory.\n"); if (g_mkdir(dirname, S_IRUSR | S_IWUSR | S_IXUSR) < 0) { - gaim_debug_error("buddy icons", + gaim_debug_error("buddyicon", "Unable to create directory %s: %s\n", dirname, strerror(errno)); } @@ -255,10 +256,11 @@ { fwrite(data, 1, len, file); fclose(file); + gaim_debug_info("buddyicon", "Wrote file %s\n", filename); } else { - gaim_debug_error("buddy icons", "Unable to create file %s: %s\n", + gaim_debug_error("buddyicon", "Unable to create file %s: %s\n", filename, strerror(errno)); }