aboutsummaryrefslogtreecommitdiff
path: root/libsylph/mh.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-30 08:26:06 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-30 08:26:06 +0000
commita381897d19f69b21bbb072e3559ea13d5953b58a (patch)
tree7eaa1fccd9078275bd47131ea4201a62b17beb42 /libsylph/mh.c
parent490f8a3c8523df7b71399d30cf61fd3e503c54da (diff)
also scan symbolic links on MH mailboxes.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1513 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r--libsylph/mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/mh.c b/libsylph/mh.c
index 12c1c966..b677f9fc 100644
--- a/libsylph/mh.c
+++ b/libsylph/mh.c
@@ -1520,7 +1520,7 @@ static void mh_scan_tree_recursive(FolderItem *item)
#else
#if HAVE_DIRENT_D_TYPE
d->d_type == DT_DIR ||
- (d->d_type == DT_UNKNOWN &&
+ ((d->d_type == DT_UNKNOWN || d->d_type == DT_LNK) &&
#endif
g_stat(entry, &s) == 0 && S_ISDIR(s.st_mode)
#if HAVE_DIRENT_D_TYPE