From: James Turner Date: Wed, 18 May 2016 18:02:41 +0000 (+0100) Subject: Fix a crash with mismatch package versions. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d63d56ace0a5b8436467ac54086ef5927a155dfd;p=simgear.git Fix a crash with mismatch package versions. --- 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);