summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-28 11:26:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-28 11:26:07 +0800
commitcaae1774260ab9d493b63183e8fb0dd460ef62d8 (patch)
treeecea662c5d864ff9f8f215908b3fcef8151142c5
parentbf59ffd31aeb3a328a489205ecbc45c194cfa5dc (diff)
Arguments were put wrongly
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index adeb2c0..d3030dd 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((void *)catalogptr, callback, NULL, "%s", "All-Products");
+ request(callback, (void *)catalogptr, NULL, "%s", "All-Products");
}
void icclient_newaccount(const char *username, const char *password