From 5bfe66bfbfbda90a32f2ce8fbd59b0b4a455c9c9 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 17 Sep 2018 09:37:23 +0200 Subject: [PATCH] Fix invalid filename report on error --- Updater/src/chkthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Updater/src/chkthread.cpp b/Updater/src/chkthread.cpp index 6c1f2e6..a4ff761 100644 --- a/Updater/src/chkthread.cpp +++ b/Updater/src/chkthread.cpp @@ -194,7 +194,7 @@ wxXmlDocument* wxUpdCheckThread::GetCatalogue() size_t nRead = httpStream->LastRead(); file.Write(data, nRead); 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; } } while (httpStream->IsOk());