summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client.c b/client.c
index 20859ed..7eab0c9 100644
--- a/client.c
+++ b/client.c
@@ -39,9 +39,10 @@ bool icclient_init(const char *url, const char *certificate)
return (bool)curl;
}
-void icclient_results(size_t (*handler)(void *contents, size_t size,
+void icclient_results(const char *prodgroup,
+ size_t (*handler)(void *contents, size_t size,
size_t nmemb, void *userdata),
- struct icclient_catalog **catalogptr, const char *prodgroup)
+ struct icclient_catalog **catalogptr)
{
char nonspaced[strlen(prodgroup) + 1];
strcpy(nonspaced, prodgroup);