X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Fpath.c;h=b13c5fe660b35822d8abb6b3d8998cadaf5a9867;hb=c20b4fa14515c7ab388ce35411d89a7a92300711;hp=b19415ab5eedb74d703569776c5e996ab6c670fc;hpb=8529829823bebf483ab22fe8d24c96394647a298;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);