]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows: fix GCC 4.9 build issue in --enable-win32-service
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 19 Dec 2014 07:05:13 +0000 (23:05 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 19 Dec 2014 07:05:13 +0000 (23:05 -0800)
src/WinSvc.cc

index a98481bb1b34b9be0278ebde655eca1c0b05e110..7495078c89767c5c559fa28ac61e18d3f956e5a6 100644 (file)
@@ -80,7 +80,7 @@ static SC_ACTION Squid_SCAction[] = { { SC_ACTION_RESTART, 60000 } };
 static char Squid_ServiceDescriptionString[] = SOFTWARENAME " " VERSION " WWW Proxy Server";
 static SERVICE_DESCRIPTION Squid_ServiceDescription = { Squid_ServiceDescriptionString };
 static SERVICE_FAILURE_ACTIONS Squid_ServiceFailureActions = { INFINITE, NULL, NULL, 1, Squid_SCAction };
-static char REGKEY[256]=SOFTWARE"\\"VENDOR"\\"SOFTWARENAME"\\";
+static char REGKEY[256] = SOFTWARE "\\" VENDOR "\\" SOFTWARENAME "\\";
 static char *keys[] = {
     SOFTWAREString,        /* key[0] */
     VENDORString,          /* key[1] */