From 0c900db232365d45b56ce8d85bbf1ed779ad2296 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Fri, 19 Jun 2020 16:32:52 +0800 Subject: Add parentheses to remove warning --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 1edee75..f1591e8 100644 --- a/client.c +++ b/client.c @@ -46,7 +46,7 @@ void icclient_results(size_t (*handler)(void *contents, size_t size, char nonspaced[strlen(prodgroup) + 1]; strcpy(nonspaced, prodgroup); char *space = NULL; - while (space = strchr(nonspaced, ' ')) + while ((space = strchr(nonspaced, ' '))) *space = '-'; request(handler, (void *)catalogptr, NULL, "%s", nonspaced); } -- cgit v1.3