Bugfix: avoid bogus download size on start

Missed a default init of the HTTP repo download content size, so until
the request response header was received, this could report a very
large value.
This commit is contained in:
James Turner 2016-11-07 15:49:07 +01:00
parent 5cd250e452
commit ab1d4e651e

View File

@ -68,7 +68,7 @@ namespace simgear
}
protected:
HTTPDirectory* _directory;
size_t _contentSize;
size_t _contentSize = 0;
};
typedef SGSharedPtr<HTTPRepoGetRequest> RepoRequestPtr;