Fix bug: time stamp for APPEND might be #F.
authorChris Hanson <org/chris-hanson/cph>
Tue, 23 May 2000 21:39:58 +0000 (21:39 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 23 May 2000 21:39:58 +0000 (21:39 +0000)
v7/src/imail/imail-imap.scm

index c8ee91e16c2d95e12b07b3d1355db9dc1635f484..52a315d8dd0806c25ab33369f7a71e6892f0751c 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-imap.scm,v 1.87 2000/05/23 20:19:04 cph Exp $
+;;; $Id: imail-imap.scm,v 1.88 2000/05/23 21:39:58 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
 (define (imap:command:append connection mailbox flags time text)
   (imap:command:no-response connection 'APPEND mailbox
                            (and (pair? flags) flags)
-                           (imap:universal-time->date-time time)
+                           (and time (imap:universal-time->date-time time))
                            (cons 'LITERAL text)))
 
 (define (imap:command:search connection . key-plist)