From: Gunnar Beutner Date: Thu, 26 Nov 2015 10:17:17 +0000 (+0100) Subject: Build fix for Windows X-Git-Tag: v2.4.1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=141f255d5ba22556a089bcf6a6194c10f3dfe1ad;p=icinga2 Build fix for Windows refs #10693 --- diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index 32ea82022..3e52ab6ed 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -1440,7 +1440,7 @@ static bool ReleaseHelper(String *platformName, String *platformVersion) *platformName = "Windows"; if (platformVersion) { - String *platformVersion = "Vista"; + *platformVersion = "Vista"; if (IsWindowsVistaSP1OrGreater()) *platformVersion = "Vista SP1"; if (IsWindowsVistaSP2OrGreater())