commit bae73e53594e99f60509f5c315c3ef234b922c78
parent 23b04b95a974867c0e5fbfd76a38eb8ac9e4807a
Author: Iván Ávalos <avalos@disroot.org>
Date: Fri, 14 Jun 2024 10:21:41 -0600
revert body and body_len field swap
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/QuickJS-android/qtart/src/main/java/net/taler/qtart/TalerWalletCore.kt b/QuickJS-android/qtart/src/main/java/net/taler/qtart/TalerWalletCore.kt
@@ -113,8 +113,8 @@ class TalerWalletCore {
"errmsg",
"response_headers",
"num_response_headers",
- "body_len",
"body",
+ "body_len",
)
}
diff --git a/quickjs/quickjs-http.h b/quickjs/quickjs-http.h
@@ -160,14 +160,14 @@ struct JSHttpResponseInfo {
int num_response_headers;
/**
- * Length of the response body or 0.
+ * Response body or NULL.
*/
- uint32_t body_len;
+ void *body;
/**
- * Response body or NULL.
+ * Length of the response body or 0.
*/
- void *body;
+ uint32_t body_len;
};
/**