From b1b99830fbae880622a76c552d3d9227ca63370f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 19 May 2000 05:02:01 +0000 Subject: [PATCH] Fix bug: IMAP SEARCH response is allowed to be empty; I was signalling error in that case. --- v7/src/imail/imap-response.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) -- 2.25.1