Maildir[strlen (Maildir) - 1] == '/'))
strfcpy (p, NONULL (Maildir), sizeof (p));
else
+#endif
+#ifdef USE_NOTMUCH
+ if (mx_is_notmuch (NONULL (Maildir)))
+ strfcpy (p, NONULL (Maildir), sizeof (p));
+ else
#endif
if (Maildir && *Maildir && Maildir[strlen (Maildir) - 1] == '/')
strfcpy (p, NONULL (Maildir), sizeof (p));
}
#endif
+#ifdef USE_NOTMUCH
+ if (scheme == U_NOTMUCH)
+ return;
+#endif
+
/* if s is an url, only collapse path component */
if (scheme != U_UNKNOWN)
{