services: dovecot: Fix serialization of a free-form-args arguments.
authorAlexey Abramov <levenson@mmer.org>
Wed, 17 Feb 2021 19:43:59 +0000 (20:43 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 6 Apr 2021 21:59:47 +0000 (23:59 +0200)
* gnu/services/mail.scm (serialize-free-form-args): Change destination and
return a string containing the formated text.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/services/mail.scm

index c0f6371..81f692e 100644 (file)
 (define (serialize-free-form-args field-name val)
   (serialize-field field-name
                    (string-join
-                    (map (match-lambda ((k . v) (format #t "~a=~a" k v))) val)
+                    (map (match-lambda ((k . v) (format #f "~a=~a" k v))) val)
                     " ")))
 
 (define-configuration dict-configuration