summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-06 08:41:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-06 08:41:56 +0300
commita72a57d89f772fca464f3f8eb869e0fa185bda25 (patch)
tree711e0906edf4ad9eafcd205a364154207a499029
parentd8c1ac72bb073182a5d831f15190ddd4458f3e97 (diff)
fix for OS version passing
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp3
1 files changed, 2 insertions, 1 deletions
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);