From a72a57d89f772fca464f3f8eb869e0fa185bda25 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Mar 2019 08:41:56 +0300 Subject: fix for OS version passing --- plugins/PluginUpdater/src/Utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 72d9bd91c9..a3d655c300 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -228,8 +228,9 @@ bool DownloadFile(FILEURL *pFileURL, HNETLIBCONN &nlc) CMStringA szUserAgent("Miranda "); szUserAgent.Append(szMirVer); - szUserAgent.Append("; "); + szUserAgent.Append(" ("); szUserAgent.Append(_T2A(wszOsVer)); + szUserAgent.Append(")"); NETLIBHTTPREQUEST nlhr = {}; nlhr.cbSize = sizeof(nlhr); -- cgit v1.2.3