services: getmail: Use 'match-record'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 17 Nov 2022 22:03:50 +0000 (23:03 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 17 Nov 2022 22:03:50 +0000 (23:03 +0100)
commit83c9e00ffbd41776c003f6992e9d613a5434fff9
tree7cc5f33bd3066ee3f4b4ceb103162c6936499329
parent32c72dd99cd2986856182910c7dee18d643e8d07
services: getmail: Use 'match-record'.

Fixes a regression introduced in
44554e7133aa60e1b453436be1e80394189cabd9 whereby the wrong record fields
would be accessed, leading to a <location> record being spliced in the
result.

* gnu/services/getmail.scm (serialize-getmail-configuration-file): Use
'match-record' instead of 'match'.
(getmail-shepherd-services): Likewise.
gnu/services/getmail.scm