unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields
@ 2019-09-16 14:42 Alexey Abramov
  2019-09-20 20:35 ` bug#37427: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Abramov @ 2019-09-16 14:42 UTC (permalink / raw)
  To: 37427

---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#37427: [PATCH] services: dovecot: Fix predicate names for free-form fields
  2019-09-16 14:42 [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields Alexey Abramov
@ 2019-09-20 20:35 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-09-20 20:35 UTC (permalink / raw)
  To: Alexey Abramov; +Cc: 37427-done

Hi Alexey,

Alexey Abramov <levenson@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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-20 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 14:42 [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields Alexey Abramov
2019-09-20 20:35 ` bug#37427: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).