X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Fpath.c;h=b13c5fe660b35822d8abb6b3d8998cadaf5a9867;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hp=b19415ab5eedb74d703569776c5e996ab6c670fc;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/path.c b/sbr/path.c index b19415a..b13c5fe 100644 --- a/sbr/path.c +++ b/sbr/path.c @@ -54,7 +54,7 @@ expath(char *name, int flag) name = m_mailpath(buffer); compath(name); snprintf(buffer, sizeof(buffer), "%s/", m_maildir("")); - if (ssequal(buffer, name)) { + if (isprefix(buffer, name)) { cp = name; name = getcpy(name + strlen(buffer)); free(cp);