diff options
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |