GNU bug report logs -
#37427
[PATCH] services: dovecot: Fix predicate names for free-form fields
Previous Next
Reported by: Alexey Abramov <levenson <at> mmer.org>
Date: Mon, 16 Sep 2019 14:46:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 20 Sep 2019 22:35:53 +0200
with message-id <87blvepuxi.fsf <at> gnu.org>
and subject line Re: [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields
has caused the debbugs.gnu.org bug report #37427,
regarding [PATCH] services: dovecot: Fix predicate names for free-form fields
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
37427: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37427
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
---
gnu/services/mail.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 3de0b4c2f3..2606aa9e3e 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -137,7 +137,7 @@
(define (free-form-fields? val)
(match val
(() #t)
- ((((? symbol?) . (? string)) . val) (free-form-fields? val))
+ ((((? symbol?) . (? string?)) . val) (free-form-fields? val))
(_ #f)))
(define (serialize-free-form-fields field-name val)
(for-each (match-lambda ((k . v) (serialize-field k v))) val))
@@ -145,7 +145,7 @@
(define (free-form-args? val)
(match val
(() #t)
- ((((? symbol?) . (? string)) . val) (free-form-args? val))
+ ((((? symbol?) . (? string?)) . val) (free-form-args? val))
(_ #f)))
(define (serialize-free-form-args field-name val)
(serialize-field field-name
--
2.21.0
[Message part 3 (message/rfc822, inline)]
Hi Alexey,
Alexey Abramov <levenson <at> mmer.org> skribis:
> --- a/gnu/services/mail.scm
> +++ b/gnu/services/mail.scm
> @@ -137,7 +137,7 @@
> (define (free-form-fields? val)
> (match val
> (() #t)
> - ((((? symbol?) . (? string)) . val) (free-form-fields? val))
> + ((((? symbol?) . (? string?)) . val) (free-form-fields? val))
Good catch! I tweaked the commit log and committed.
Thanks,
Ludo’.
This bug report was last modified 5 years and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.