summaryrefslogtreecommitdiff
path: root/anteraja.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 20:47:59 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 20:47:59 +0800
commit2419d61c5171479586ba606834dcbfaa138c9bb3 (patch)
tree074724342b5dc99af63b461a8ac60a9989d890d3 /anteraja.c
parent7b90ae5879f80ddb9f0a11aaa0fb63d16844fa59 (diff)
Rename waybill to tracking_number
Diffstat (limited to 'anteraja.c')
-rw-r--r--anteraja.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/anteraja.c b/anteraja.c
index 14e32a0..0e5f2e7 100644
--- a/anteraja.c
+++ b/anteraja.c
@@ -146,14 +146,14 @@ void anteraja_order(const char *order_number, const char *service, const char *s
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, *post);
}
-size_t anteraja_order_handle(const char *contents, size_t size, size_t nmemb, char **waybill)
+size_t anteraja_order_handle(const char *contents, size_t size, size_t nmemb, char **tracking_number)
{
size_t realsize = size * nmemb;
handle(ORDER, contents, realsize, status_trail, (const char *[]){
"content",
"waybill_no",
NULL
- }, NULL, waybill);
+ }, NULL, tracking_number);
return realsize;
}