1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

* src/metalink.c: Specify 'rb' as mode to open file

This commit is contained in:
Jernej Simončič 2015-12-11 09:58:30 +01:00 committed by Giuseppe Scrivano
parent 3eddf5c173
commit bf56bf4560

View File

@ -168,7 +168,7 @@ retrieve_from_metalink (const metalink_t* metalink)
FILE *local_file;
/* Check the digest. */
local_file = fopen (filename, "r");
local_file = fopen (filename, "rb");
if (!local_file)
{
logprintf (LOG_NOTQUIET, _("Could not open downloaded file.\n"));