summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 21:46:09 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 21:46:09 +0800
commitbf59ffd31aeb3a328a489205ecbc45c194cfa5dc (patch)
treec439da2a86d565ae71bf477ffc7312f4ecd5b50d /client.c
parentde16cb072e348fed875232c58cee7dfee5d97663 (diff)
Pass the data and function pointers in allproducts
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 61ed428..adeb2c0 100644
--- a/client.c
+++ b/client.c
@@ -35,7 +35,7 @@ bool icclient_init(const char *url, const char *certificate)
void icclient_allproducts(icclient_catalog **catalogptr
, size_t (*callback)(void *, size_t, size_t, void *))
{
- request(NULL, NULL, NULL, "%s", "All-Products");
+ request((void *)catalogptr, callback, NULL, "%s", "All-Products");
}
void icclient_newaccount(const char *username, const char *password