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

DoneSubmitted by Attila Lendvai.
Details
2 participants
  • Attila Lendvai
  • Ludovic Courtès
Owner
unassigned
Severity
normal
A
A
Attila Lendvai wrote on 1 Apr 21:19 +0200
(address . guix-patches@gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220401191928.16450-1-attila@lendvai.name
---
gnu/services/messaging.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 6ed55453db..4bceb1d37a 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -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)))
-- 
2.34.0
L
L
Ludovic Courtès wrote on 5 Apr 20:34 +0200
(name . Attila Lendvai)(address . attila@lendvai.name)(address . 54673-done@debbugs.gnu.org)
87v8vnidld.fsf@gnu.org
Hi,

Attila Lendvai <attila@lendvai.name> skribis:

Toggle quote (4 lines)
> ---
> gnu/services/messaging.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Added a commit log and applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54673@debbugs.gnu.org