X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=muttlib.c;h=695d08c5a5a270e5bd8549f098d73b400e95b0e8;hb=81efbf8081bad2eed7ad07209b301ca35fe183e8;hp=65007ae8e9f8d0982fc43da0e4fd67d821e0091b;hpb=c8e3d1cce2a8af0b4725e1a751f8795bf04487da;p=apps%2Fmadmutt.git diff --git a/muttlib.c b/muttlib.c index 65007ae..695d08c 100644 --- a/muttlib.c +++ b/muttlib.c @@ -198,7 +198,7 @@ void mutt_pretty_mailbox (char *s) /* if s is an url, only collapse path component */ if (scheme != U_UNKNOWN) { p = strchr (s, ':') + 1; - if (!strncmp (p, "//", 2)) + if (!m_strncmp (p, "//", 2)) q = strchr (p + 2, '/'); if (!q) q = strchr (p, '\0');