aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 381f81097..3c6714ba6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4073,7 +4073,8 @@ static void dumpeasycode(struct Configurable *config)
static bool stdin_upload(const char *uploadfile)
{
- return curlx_strequal(uploadfile, "-") || curlx_strequal(uploadfile, ".");
+ return (bool)(curlx_strequal(uploadfile, "-") ||
+ curlx_strequal(uploadfile, "."));
}
static char*