* mu-maildir.[ch]: cosmetics
This commit is contained in:
@ -220,7 +220,6 @@ process_file (const char* fullpath, MuMaildirWalkMsgCallback cb, void *data)
|
|||||||
* filename etc.)
|
* 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))
|
if (G_LIKELY(result == MU_OK || result == MU_STOP))
|
||||||
return result;
|
return result;
|
||||||
else {
|
else {
|
||||||
@ -327,8 +326,6 @@ process_dir_entry (const char* path, struct dirent *entry,
|
|||||||
sprintf (fullpath, "%s%c%s", path, G_DIR_SEPARATOR,
|
sprintf (fullpath, "%s%c%s", path, G_DIR_SEPARATOR,
|
||||||
entry->d_name);
|
entry->d_name);
|
||||||
|
|
||||||
g_debug ("looking at: %s", fullpath);
|
|
||||||
|
|
||||||
switch (entry->d_type) {
|
switch (entry->d_type) {
|
||||||
case DT_REG:
|
case DT_REG:
|
||||||
/* we only want files in cur/ and new/ */
|
/* we only want files in cur/ and new/ */
|
||||||
|
|||||||
@ -96,8 +96,6 @@ typedef MuResult (*MuMaildirWalkDirCallback)
|
|||||||
*/
|
*/
|
||||||
MuResult mu_maildir_walk (const char *path, MuMaildirWalkMsgCallback cb_msg,
|
MuResult mu_maildir_walk (const char *path, MuMaildirWalkMsgCallback cb_msg,
|
||||||
MuMaildirWalkDirCallback cb_dir, void *data);
|
MuMaildirWalkDirCallback cb_dir, void *data);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* recursively delete all the symbolic links in a directory tree
|
* recursively delete all the symbolic links in a directory tree
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user