Skip to content

Commit

Permalink
Merge pull request kubernetes-client#200 from ityuhui/yh-32bit-suppor…
Browse files Browse the repository at this point in the history
…t-0804

Support 32bit in postdata
  • Loading branch information
k8s-ci-robot committed Aug 7, 2023
2 parents 4aa8bb7 + 8ed333e commit 5ac5ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/src/apiClient.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ char *assembleHeaderField(char *key, char *value) {
void postData(CURL *handle, const char *bodyParameters) {
curl_easy_setopt(handle, CURLOPT_POSTFIELDS, bodyParameters);
curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE_LARGE,
strlen(bodyParameters));
(curl_off_t)strlen(bodyParameters));
}

int lengthOfKeyPair(keyValuePair_t *keyPair) {
Expand Down

0 comments on commit 5ac5ff2

Please sign in to comment.