Fix uninitialized path walker in waypoints checker.

Update to latest crlib.
This commit is contained in:
jeefo 2020-12-18 20:06:05 +03:00
commit 4c8a4175d8
3 changed files with 7 additions and 0 deletions

View file

@ -339,6 +339,7 @@ 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)) {
@ -409,6 +410,7 @@ 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)) {