diff --git a/client/http_curl.cpp b/client/http_curl.cpp index 777786a5f7..3b604261b4 100644 --- a/client/http_curl.cpp +++ b/client/http_curl.cpp @@ -602,7 +602,7 @@ int HTTP_OP::libcurl_exec( if (is_post) { want_upload = true; want_download = false; - if (infile && strlen(infile)>0) { + if (strlen(infile)>0) { fileIn = boinc_fopen(infile, "rb"); if (!fileIn) { msg_printf(NULL, MSG_INTERNAL_ERROR, "No HTTP input file %s", infile);