summaryrefslogtreecommitdiff
path: root/ord.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 15:41:54 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 15:41:54 +0800
commit143f5b64f187497af728a6d921c599dcc99ed807 (patch)
treeba7264b8748c53c57697f9a1c9bf34db279ed468 /ord.c
parent4cd6fdb93eca409a76b0af860d9a0599b2f95f53 (diff)
Fix the way libcurl has been used
Diffstat (limited to 'ord.c')
-rw-r--r--ord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ord.c b/ord.c
index 42a5aea..f102a45 100644
--- a/ord.c
+++ b/ord.c
@@ -86,7 +86,7 @@ void icclient_ord_order(const char *sku, const icclient_catalog *catalog,
void icclient_ord_checkout(struct icclient_ord_order *order,
struct icclient_member *member)
{
- request(NULL, NULL, &(struct icclient_request_data){ 14, {
+ request(NULL, NULL, &(struct body){ 14, {
{ "mv_todo", "submit" },
{ "mv_action", "refresh" },
{ "mv_order_profile", order->profile },