From 6285a409ed661b08c23215b7a87315f12c005094 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 18 May 2016 19:02:41 +0100 Subject: [PATCH] Fix a crash with mismatch package versions. --- simgear/package/Catalog.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simgear/package/Catalog.cxx b/simgear/package/Catalog.cxx index b07e1aec..2ce17d5e 100644 --- a/simgear/package/Catalog.cxx +++ b/simgear/package/Catalog.cxx @@ -135,8 +135,7 @@ protected: std::string ver(m_owner->root()->applicationVersion()); if (!checkVersion(ver, props)) { - SG_LOG(SG_GENERAL, SG_WARN, "downloaded catalog " << m_owner->url() << ", version mismatch:\n\t" - << props->getStringValue("version") << " vs required " << ver); + SG_LOG(SG_GENERAL, SG_WARN, "downloaded catalog " << m_owner->url() << ", version required " << ver); // check for a version redirect entry std::string url = redirectUrlForVersion(ver, props);