* mu_maildir_mkdir: add logging

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-21 20:04:30 +02:00
parent b0f6913ef3
commit fc64926c63
1 changed files with 5 additions and 0 deletions

View File

@ -29,8 +29,10 @@
#include <errno.h>
#include <glib/gprintf.h>
#include "mu-util.h"
#include "mu-maildir.h"
#define MU_MAILDIR_WALK_MAX_FILE_SIZE (32*1000*1000)
#define MU_MAILDIR_NOINDEX_FILE ".noindex"
#define MU_MAILDIR_CACHE_FILE ".mu.cache"
@ -93,6 +95,9 @@ gboolean
mu_maildir_mkmdir (const char* path, mode_t mode, gboolean noindex)
{
g_return_val_if_fail (path, FALSE);
MU_WRITE_LOG ("mu_maildir_mkdir (%s, %o, %s)",
path, mode, noindex ?"TRUE":"FALSE");
if (!create_maildir (path, mode))
return FALSE;