talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit fbba86572f25ab0e5c298948c1ebf86d9aa4798f
parent 6274ab07d23770f1c006022aa6b38508130aaa11
Author: Ricardo Mones <ricardo@mones.org>
Date:   Wed, 20 Jul 2016 09:13:59 +0200

Fix warning about what directory cannot be open

Diffstat:
Msrc/mh.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mh.c b/src/mh.c @@ -258,8 +258,8 @@ static void mh_get_last_num(Folder *folder, FolderItem *item) cm_return_if_fail(path != NULL); if ((dp = g_dir_open(path, 0, &error)) == NULL) { - g_message("Couldn't open current directory: %s (%d).\n", - error->message, error->code); + g_warning("Couldn't open directory '%s': %s (%d)", + path, error->message, error->code); g_error_free(error); g_free(path); return;