From: Chris Hanson Date: Tue, 23 May 2000 17:40:04 +0000 (+0000) Subject: Restructure IMAP trace mechanism to output the trace directly to a file. X-Git-Tag: 20090517-FFI~3706 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ae6f6242a57e45fa3fdb5ed2ae2d725f5baa24d8;p=mit-scheme.git Restructure IMAP trace mechanism to output the trace directly to a file. --- 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