ap

An audio player suited to my tastes
Log | Files | Refs | README | LICENSE

commit 17791602cfa86e695a3240ff52ef121ac78d00c5
parent 7d7ddd0a3b49aa95c36c985c0badeaae55f789f4
Author: Jacob R. Edwards <n/a>
Date:   Mon,  3 Oct 2022 14:11:57 -0700

Fix use of apunquote in client.c

Diffstat:
Mlib/ap/client.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/ap/client.c b/lib/ap/client.c @@ -117,9 +117,8 @@ apc_read(struct apc *apc) } if (*buf == '\'') { - tmp = apunquote(buf); - free(buf); - buf = tmp; + tmp = apunquote(&buf, NULL); + strcpy(buf, tmp); } return buf; }