From f2cdda353b0da0ec19679ac8753fbe2d17471fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 11 Jul 2020 21:19:23 +0800 Subject: Revert prodgroup to prod_group --- client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client.c') 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 = '-'; -- cgit v1.2.3