From ae6f6242a57e45fa3fdb5ed2ae2d725f5baa24d8 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 23 May 2000 17:40:04 +0000 Subject: [PATCH] Restructure IMAP trace mechanism to output the trace directly to a file. --- v7/src/imail/imail-imap.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/v7/src/imail/imail-imap.scm b/v7/src/imail/imail-imap.scm index 222d0c45d..9bd8e8f12 100644 --- a/v7/src/imail/imail-imap.scm +++ b/v7/src/imail/imail-imap.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-imap.scm,v 1.83 2000/05/23 15:11:04 cph Exp $ +;;; $Id: imail-imap.scm,v 1.84 2000/05/23 17:40:04 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -1024,10 +1024,8 @@ (define (start-imap-trace pathname) (stop-imap-trace) - (call-with-output-file pathname - (lambda (port) - (set! imap-trace-port port) - unspecific))) + (set! imap-trace-port (open-output-file pathname)) + unspecific) (define (stop-imap-trace) (if imap-trace-port -- 2.25.1