From 5f0e347c6098ed578d2d56a37ee5d9ef70cd08db Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 27 Sep 2015 19:44:39 -0500 Subject: [PATCH] Keep in sync with SimGear Package API --- src/Network/http/PkgUriHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/http/PkgUriHandler.cxx b/src/Network/http/PkgUriHandler.cxx index 7488a7c36..5b0965087 100644 --- a/src/Network/http/PkgUriHandler.cxx +++ b/src/Network/http/PkgUriHandler.cxx @@ -117,7 +117,7 @@ static string PackageRootCommand( simgear::pkg::Root* packageRoot, const string } else if( command == "version" ) { - cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->catalogVersion().c_str() )); + cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->applicationVersion().c_str() )); } else if( command == "refresh" ) { packageRoot->refresh(true); -- 2.39.5