summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 08:51:06 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 08:51:06 +0800
commit0f63d288930a71e9705ce1b48a5e0036a9161b52 (patch)
tree074b8a25504dcdb2442ade4e58746b71a364ca31 /client.cxx
parent0640cec9e13edd30b85c50da9943f6fb56aec0df (diff)
Swap allproducts arguments
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);
}