diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/minidump/minidump_upload.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/minidump/minidump_upload.cxx b/desktop/source/minidump/minidump_upload.cxx index 3f17c04c0474..30eaaaa0d39c 100644 --- a/desktop/source/minidump/minidump_upload.cxx +++ b/desktop/source/minidump/minidump_upload.cxx @@ -100,6 +100,12 @@ bool uploadContent(std::map<std::string, std::string>& parameters) if (url.empty()) return false; + if (file.empty()) + return false; + + if (version.empty()) + return false; + curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(curl, CURLOPT_USERAGENT, kUserAgent); // Set proxy information if necessary. |