Merge pull request #200 from ityuhui/yh-32bit-support-0804
Support 32bit in postdata
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user