mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:33:34 +03:00
parent
080973dcdb
commit
cd2b45201a
32 changed files with 68 additions and 75 deletions
|
|
@ -66,8 +66,7 @@ bool output_expected(const char *url, const char *uploadfile)
|
|||
|
||||
bool stdin_upload(const char *uploadfile)
|
||||
{
|
||||
return (!strcmp(uploadfile, "-") ||
|
||||
!strcmp(uploadfile, ".")) ? TRUE : FALSE;
|
||||
return (!strcmp(uploadfile, "-") || !strcmp(uploadfile, "."));
|
||||
}
|
||||
|
||||
/* Convert a CURLUcode into a CURLcode */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue