Use number->string directly; skip dispatch through write-to-string.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 29 May 2019 04:57:53 +0000 (04:57 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 29 May 2019 05:16:01 +0000 (05:16 +0000)
(cherry picked from commit 214cee1229fd10f3a4303cb4613af03a3915d5fe)

src/imail/imail-imap.scm

index d48856a41c1bbf6a8d1398717a179a14af36dbdf..9010ab4874ccf51cba52e0dffe68f4ce7a7478ec 100644 (file)
@@ -2060,7 +2060,7 @@ USA.
 
 (define (imap-message-cache-specifier message)
   `(,@(imap-folder-cache-specifier (message-folder message))
-    ,(write-to-string (imap-message-uid message))))
+    ,(number->string (imap-message-uid message) #d10)))
 
 (define (imap-message-temporary-directory-pathname message)
   (imap-folder-temporary-directory-pathname (message-folder message)))