summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 94dacb3..fa59587 100644
--- a/client.c
+++ b/client.c
@@ -32,12 +32,12 @@ bool icclient_init(const char *url, const char *certificate)
return (bool)curl;
}
-void icclient_results(const char *prodgroup,
+void icclient_results(const char *prod_group,
size_t (*handler)(void *, size_t, size_t, void *),
struct icclient_catalog **catalogptr)
{
- char nonspaced[strlen(prodgroup) + 1];
- strcpy(nonspaced, prodgroup);
+ char nonspaced[strlen(prod_group) + 1];
+ strcpy(nonspaced, prod_group);
char *space = NULL;
while ((space = strchr(nonspaced, ' ')))
*space = '-';