#include <h/mh.h>
#include <h/utils.h>
+#include "m_maildir.h"
#define CWD "./"
#define DOT "."
ep = pwds + strlen (pwds);
if ((cp = strrchr(pwds, '/')) == NULL)
cp = ep;
- else
- if (cp == pwds)
- cp++;
+ else if (cp == pwds)
+ cp++;
if (has_prefix(name, CWD))
name += LEN(CWD);