summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.cxx b/client.cxx
index 4e832ce..7ffe780 100644
--- a/client.cxx
+++ b/client.cxx
@@ -17,7 +17,7 @@ namespace ICClient {
void Client::allProducts(size_t (*handler)(void*, size_t, size_t, void*))
{
icclient_catalog* catalog = nullptr;
- icclient_allproducts(&catalog, handler);
+ icclient_allproducts(handler, &catalog);
emit gotAllProducts(catalog);
}