From 0b3bc093f03176b52ea90f7b521e1694a61d2304 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 7 Nov 2001 10:22:08 +0000 Subject: [PATCH] Fix 706, 853. --- complete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/complete.c b/complete.c index 2aa2744d..ea1184d9 100644 --- a/complete.c +++ b/complete.c @@ -56,8 +56,8 @@ int mutt_complete (char *s, size_t slen) p = NONULL (Maildir); if (s[1]) { - /* don't append '/' if Maildir/Spoolfile is {host} only */ - if (mx_is_imap (NONULL (p)) && p[strlen (p)-1] == '}') + /* don't append '/' if Maildir/Spoolfile is imap://host/ only */ + if (mx_is_imap (NONULL (p)) && p[strlen (p)-1] == '/') snprintf (imap_path, sizeof (imap_path), "%s%s", p, s+1); else snprintf (imap_path, sizeof (imap_path), "%s/%s", NONULL (p), -- 2.40.0