Browse Source

downloader: Fix an uninitialized member

rdb 4 years ago
parent
commit
20bdd32765
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/downloader/httpChannel.cxx

+ 1 - 0
panda/src/downloader/httpChannel.cxx

@@ -117,6 +117,7 @@ HTTPChannel(HTTPClient *client) :
   _cipher_list = _client->get_cipher_list();
   _last_status_code = 0;
   _last_run_time = 0.0f;
+  _download_dest = DD_none;
   _download_to_ramfile = nullptr;
   _download_to_stream = nullptr;
 }