services: dovecot: Fix serialization of a free-form-args arguments.

* 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>
This commit is contained in:
Alexey Abramov 2021-02-17 20:43:59 +01:00 committed by Ludovic Courtès
parent 66d8dc3d74
commit 5a6e27bfbd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -159,7 +159,7 @@ (define (free-form-args? val)
(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