commit 5ddc5156392cf6d98b654ec66b27f6912524030b
parent 41790db61ee0c77dc8aa83faeb61b4f884306c0c
Author: Jacob R. Edwards <n/a>
Date: Mon, 3 Oct 2022 16:26:49 -0700
Fix client unquoting bug introduced in the last "fix"
I, the unthinking, hadn't accounted for apunquote changing where
buf points.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/ap/client.c b/lib/ap/client.c
@@ -117,7 +117,8 @@ apc_read(struct apc *apc)
}
if (*buf == '\'') {
- tmp = apunquote(&buf, NULL);
+ tmp = buf;
+ tmp = apunquote(&tmp, NULL);
strcpy(buf, tmp);
}
return buf;