From 61e6bbfb832aa18a5c1049dccb618648b5837a44 Mon Sep 17 00:00:00 2001 From: Mazet Laurent Date: Thu, 24 Apr 2025 18:14:23 +0200 Subject: [PATCH] fix array parsing --- parse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/parse.h b/parse.h index 396a228..c678aba 100644 --- a/parse.h +++ b/parse.h @@ -76,6 +76,7 @@ __BEGIN_DECLS char *val = pt; \ while (*pt != '\0') { \ if ((*pt == ' ') && (*(pt - 1) != '\\')) { \ + *pt = '\0'; \ break; \ } \ pt++; \ -- 2.30.2