diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-06 08:41:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-06 08:41:56 +0300 |
commit | a72a57d89f772fca464f3f8eb869e0fa185bda25 (patch) | |
tree | 711e0906edf4ad9eafcd205a364154207a499029 | |
parent | d8c1ac72bb073182a5d831f15190ddd4458f3e97 (diff) |
fix for OS version passing
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 3 |
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);
|