From: Chris Hanson Date: Fri, 19 May 2000 05:02:01 +0000 (+0000) Subject: Fix bug: IMAP SEARCH response is allowed to be empty; I was signalling X-Git-Tag: 20090517-FFI~3804 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b1b99830fbae880622a76c552d3d9227ca63370f;p=mit-scheme.git Fix bug: IMAP SEARCH response is allowed to be empty; I was signalling error in that case. --- diff --git a/v7/src/imail/imap-response.scm b/v7/src/imail/imap-response.scm index 0ea9c3368..185c5328c 100644 --- a/v7/src/imail/imap-response.scm +++ b/v7/src/imail/imap-response.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imap-response.scm,v 1.21 2000/05/19 02:43:49 cph Exp $ +;;; $Id: imap-response.scm,v 1.22 2000/05/19 05:02:01 cph Exp $ ;;; ;;; Copyright (c) 2000 Massachusetts Institute of Technology ;;; @@ -86,10 +86,7 @@ (cons* delim (read-astring port) flags)))) (define (read-search-response port) - (let ((numbers (read-open-list read-nz-number port))) - (if (pair? numbers) - numbers - (error "Empty search response.")))) + (read-open-list read-nz-number port)) (define (read-status-response port) (discard-known-char #\space port)