From 40fd616e5d69ab4a288463602e237822c2af5d93 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 24 May 2016 22:12:46 +0200 Subject: [PATCH] Temporary repository catalog file is now removed after no longer needed --- Updater/src/chkthread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Updater/src/chkthread.cpp b/Updater/src/chkthread.cpp index 7d1228b..633a85f 100644 --- a/Updater/src/chkthread.cpp +++ b/Updater/src/chkthread.cpp @@ -192,11 +192,10 @@ wxXmlDocument* wxUpdCheckThread::GetCatalogue() wxScopedPtr doc(new wxXmlDocument()); if (!doc->Load(fileName, "UTF-8", wxXMLDOC_KEEP_WHITESPACE_NODES)) { wxLogWarning(_("Error loading repository catalogue.")); - http.Close(); continue; } m_config.Write(wxT("CatalogueLastModified"), http.GetHeader(wxT("Last-Modified"))); - http.Close(); + wxRemoveFile(fileName); wxLogStatus(_("Verifying repository catalogue signature..."));