Skip to content

Commit

Permalink
* mu-maildir.[ch]: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
djcb committed Jan 8, 2010
1 parent 4b578ad commit b502353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/mu-maildir.c
Expand Up @@ -219,8 +219,7 @@ process_file (const char* fullpath, MuMaildirWalkMsgCallback cb, void *data)
* use the ctime, so any status change will be visible (perms,
* filename etc.)
*/
result = (cb)(fullpath,statbuf.st_ctime,data);

result = (cb)(fullpath, statbuf.st_ctime, data);
if (G_LIKELY(result == MU_OK || result == MU_STOP))
return result;
else {
Expand Down Expand Up @@ -303,7 +302,7 @@ _ignore_dir_entry (struct dirent *entry)
return TRUE;

/* ignore .notmuch, .nnmaildir */
if ((name[1] == 'n') &&/* optimization */
if ((name[1] == 'n') && /* optimization */
(strcmp (name, ".notmuch") == 0 ||
strcmp (name, ".nnmaildir") == 0))
return TRUE;
Expand All @@ -326,8 +325,6 @@ process_dir_entry (const char* path, struct dirent *entry,
fullpath = g_newa (char, strlen(path) + strlen(entry->d_name) + 1);
sprintf (fullpath, "%s%c%s", path, G_DIR_SEPARATOR,
entry->d_name);

g_debug ("looking at: %s", fullpath);

switch (entry->d_type) {
case DT_REG:
Expand Down
2 changes: 0 additions & 2 deletions src/mu-maildir.h
Expand Up @@ -96,8 +96,6 @@ typedef MuResult (*MuMaildirWalkDirCallback)
*/
MuResult mu_maildir_walk (const char *path, MuMaildirWalkMsgCallback cb_msg,
MuMaildirWalkDirCallback cb_dir, void *data);


/**
* recursively delete all the symbolic links in a directory tree
*
Expand Down

0 comments on commit b502353

Please sign in to comment.