diff --git a/ext/crlib/cr-http.h b/ext/crlib/cr-http.h index ceb3c33..7687b4c 100644 --- a/ext/crlib/cr-http.h +++ b/ext/crlib/cr-http.h @@ -339,7 +339,6 @@ public: bool downloadFile (StringRef url, StringRef localPath, int32 timeout = DefaultSocketTimeout) { if (plat.win && !initialized_) { plat.abort ("Sockets not initialized."); - return false; } if (File::exists (localPath)) { @@ -410,7 +409,6 @@ public: bool uploadFile (StringRef url, StringRef localPath, const int32 timeout = DefaultSocketTimeout) { if (plat.win && !initialized_) { plat.abort ("Sockets not initialized."); - return false; } if (!File::exists (localPath)) {