]> git.mxchange.org Git - simgear.git/commitdiff
Fix a crash with mismatch package versions.
authorJames Turner <zakalawe@mac.com>
Wed, 18 May 2016 18:02:41 +0000 (19:02 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
simgear/package/Catalog.cxx

index b07e1aec4f97d8fc1bc06b4232b1ef903fffbc2d..2ce17d5ebcad9db638771fc63034ae0dc06499b3 100644 (file)
@@ -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);