summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-29 20:48:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-29 20:48:07 +0800
commite13c106e8b28111feb0f71e5c04cab8637fcadb9 (patch)
tree922db0eb138f7ce7e467ab079af16c47537c9957 /client.c
parenta9c230a80abfb78f09980efad809666050c702b6 (diff)
Reorder flypage parameters
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client.c b/client.c
index 7eab0c9..f24f968 100644
--- a/client.c
+++ b/client.c
@@ -58,8 +58,9 @@ void icclient_allproducts(size_t (*handler)(void *, size_t, size_t, void *)
request(handler, (void *)catalogptr, NULL, "%s", "All-Products");
}
-void icclient_flypage(size_t (*handler)(void *, size_t, size_t, void *),
- icclient_product **productptr, const char *sku)
+void icclient_flypage(const char *sku,
+ size_t (*handler)(void *, size_t, size_t, void *),
+ icclient_product **productptr)
{
request(handler, (void *)productptr, NULL, "%s", sku);
}