services: messaging: Fix two copy-paste mistakes; avoid warnings.

* gnu/services/messaging.scm (file-name-list, file-object-list): Fix
name in 'define-maybe' instances.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Attila Lendvai 2022-04-01 21:19:28 +02:00 committed by Ludovic Courtès
parent 84e0cbbc9c
commit 9ef6d80ef4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -180,7 +180,7 @@ (define (file-name-list? val)
(and (list? val) (and-map file-name? val)))
(define (serialize-file-name-list field-name val)
(serialize-string-list field-name val))
(define-maybe file-name)
(define-maybe file-name-list)
(define (file-object? val)
(or (file-like? val) (file-name? val)))
@ -192,7 +192,7 @@ (define (file-object-list? val)
(and (list? val) (and-map file-object? val)))
(define (serialize-file-object-list field-name val)
(serialize-string-list field-name val))
(define-maybe file-object)
(define-maybe file-object-list)
(define (raw-content? val)
(not (eq? val 'disabled)))