summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
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);
}