summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-13 13:28:09 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-13 13:28:09 +0800
commit6e5428f317c15ac78af3d440e377e7e77d2a0e0e (patch)
tree79b44fa42605c937407d1d9add56489919cb1b2e
parent76e22f15b9f7eb9227d6ba32198ea1f5464664e5 (diff)
Pass a copy of the struct to checkout
-rw-r--r--ord.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ord.cxx b/ord.cxx
index 733b204..6c82e69 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -120,7 +120,7 @@ namespace QInterchange {
};
mPtr = &m;
- interchange_ord_checkout(order_profile, mPtr,
+ interchange_ord_checkout(order_profile, m,
[](interchange_response* response) {
free(mPtr->fname);
free(mPtr->lname);