mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
parent
b2bccdc257
commit
89771d19d5
109 changed files with 319 additions and 324 deletions
|
|
@ -348,7 +348,7 @@ static CURLcode file_upload(struct Curl_easy *data,
|
|||
mode |= O_TRUNC;
|
||||
|
||||
#if (defined(ANDROID) || defined(__ANDROID__)) && \
|
||||
(defined(__i386__) || defined(__arm__))
|
||||
(defined(__i386__) || defined(__arm__))
|
||||
fd = open(file->path, mode, (mode_t)data->set.new_file_perms);
|
||||
#else
|
||||
fd = open(file->path, mode, data->set.new_file_perms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue