diff --git a/Win32/Win32Service.cpp b/Win32/Win32Service.cpp index 4a0058ac..717bc887 100644 --- a/Win32/Win32Service.cpp +++ b/Win32/Win32Service.cpp @@ -297,7 +297,8 @@ void InstallService(PCSTR pszServiceName, PCSTR pszDisplayName, DWORD dwStartTyp FreeHandles(schSCManager, schService); return; } - strncat(szPath, " --daemon", MAX_PATH); + char SvcOpt[] = " --daemon"; + strncat(szPath, SvcOpt, strlen(SvcOpt)); // Open the local default service control manager database schSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT | SC_MANAGER_CREATE_SERVICE); diff --git a/libi2pd_client/HTTPProxy.cpp b/libi2pd_client/HTTPProxy.cpp index 968173db..cfa98a02 100644 --- a/libi2pd_client/HTTPProxy.cpp +++ b/libi2pd_client/HTTPProxy.cpp @@ -156,7 +156,7 @@ namespace proxy { std::stringstream ss; ss << "
Remote host not found in router's addressbook
\r\n" - << "You may try to find this host on jumpservices below:
\r\n" + << "You may try to find this host on jump services below:
\r\n" << "