commit 62784450db5cc33688343bd00ee25c5888e186ae
parent 2a22d39c1748d0ca7222f2430811b2375a2881aa
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 28 Jun 2026 09:11:35 +0200
badness
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
@@ -413,7 +413,7 @@ load_terms (struct TALER_MHD_Legal *legal,
if ( (NULL == legal->terms_version) ||
(0 != strncmp (legal->terms_version,
name,
- ext - name - 1)) )
+ ext - name)) )
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Filename `%s' does not match Etag `%s' in directory `%s/%s'. Ignoring it.\n",