diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-30 08:46:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-30 08:46:22 +0000 |
commit | eaa183e14a412210dac9320cdaa2114c555a24ac (patch) | |
tree | c69e683797fa80443a2c82b6df6335f452caa5b9 /protocols/Xfire | |
parent | bd33df2d4b9534d2241283f2b20d83f5b1811ebc (diff) |
Miranda HTTP user agent unification (not to have problems with sites)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11955 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/socket.cpp b/protocols/Xfire/src/socket.cpp index 302e117d4f..1863639249 100644 --- a/protocols/Xfire/src/socket.cpp +++ b/protocols/Xfire/src/socket.cpp @@ -214,7 +214,7 @@ bool Socket::connect ( const std::string host, const int port, int useproxy,std: /*if (useproxy&&status==0) {
char temp[1024];
- this->send("CONNECT cs.xfire.com:25999 HTTP/1.1\nHost: cs.xfire.com:25999\nUser-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)\n\n");
+ this->send("CONNECT cs.xfire.com:25999 HTTP/1.1\nHost: cs.xfire.com:25999\nUser-Agent: " + NETLIB_USER_AGENT + "\n\n");
this->recv((char*)temp,1024);
}*/
|