From eaa183e14a412210dac9320cdaa2114c555a24ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Jan 2015 08:46:22 +0000 Subject: 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 --- protocols/Xfire/src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Xfire/src/socket.cpp') 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); }*/ -- cgit v1.2.3