summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 21:19:23 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 21:19:23 +0800
commitf2cdda353b0da0ec19679ac8753fbe2d17471fd9 (patch)
tree8c5bcc98a1b41481c4d249043b0246d935f24e39 /client.c
parentc0fba9db9290fb30884b9c4f8d847212164e3b50 (diff)
Revert prodgroup to prod_group
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 = '-';