Fix invalid filename report on error
This commit is contained in:
parent
c6b0ebd28e
commit
5bfe66bfbf
@ -194,7 +194,7 @@ wxXmlDocument* wxUpdCheckThread::GetCatalogue()
|
|||||||
size_t nRead = httpStream->LastRead();
|
size_t nRead = httpStream->LastRead();
|
||||||
file.Write(data, nRead);
|
file.Write(data, nRead);
|
||||||
if (file.Error()) {
|
if (file.Error()) {
|
||||||
wxLogError(_("Can not write to %s file."), m_fileName.c_str());
|
wxLogError(_("Can not write to %s file."), fileName.c_str());
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
} while (httpStream->IsOk());
|
} while (httpStream->IsOk());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user