From: Chris Hanson Date: Tue, 21 Feb 2017 06:24:54 +0000 (-0800) Subject: Fix dangling reference. X-Git-Tag: mit-scheme-pucked-9.2.12~220^2~46 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ee58d85dc474554918ef62035ace158f85f328b2;p=mit-scheme.git Fix dangling reference. --- diff --git a/src/imail/imail-imap.scm b/src/imail/imail-imap.scm index 9690df2e5..39ab4e5be 100644 --- a/src/imail/imail-imap.scm +++ b/src/imail/imail-imap.scm @@ -139,7 +139,7 @@ USA. (cond ((string-ci=? "inbox" mailbox) "inbox") ((and (string-prefix-ci? "inbox/" mailbox) (not (string-prefix? "inbox/" mailbox))) - (substring-downcase mailbox 0 5)) + (string-downcase (string-slice mailbox 0 5))) (else mailbox))) (define (compatible-imap-urls? url1 url2)