Commit 04e5fd24 04e5fd24c419bb999a472ff8dd966223b0b457fc by Jakob Kaivo

*** empty log message ***

1 parent 3d9e4a77
...@@ -204,7 +204,7 @@ list_file (const char *cwd, const char *ref, const char *pattern, ...@@ -204,7 +204,7 @@ list_file (const char *cwd, const char *ref, const char *pattern,
204 implementation: Solaris 2.4 readdir on NFS filesystems. */ 204 implementation: Solaris 2.4 readdir on NFS filesystems. */
205 char const *entry = dp->d_name; 205 char const *entry = dp->d_name;
206 if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0' && 206 if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0' &&
207 !(is_virtual && !strcmp (entry, "INBOX") && !strcmp(cwd, homedir))) 207 !(!strcmp (entry, "INBOX") && !strcmp(cwd, homedir)))
208 { 208 {
209 int status = match (entry, pattern, delim); 209 int status = match (entry, pattern, delim);
210 if (status) 210 if (status)
......