From caae1774260ab9d493b63183e8fb0dd460ef62d8 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, 28 Sep 2019 11:26:07 +0800 Subject: Arguments were put wrongly --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3