Skip to content
Browse files

- fixed survey request.

  • Loading branch information...
coelckers committed Aug 9, 2019
1 parent 3b41848 commit 817190458d22d09699204265621aee3ab196bec4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/d_anonstats.cpp
@@ -300,7 +300,7 @@ void D_DoAnonStats()
if (sentstats_hwr_done >= CHECKVERSION) return;

static char requeststring[1024];
mysnprintf(requeststring, sizeof requeststring, "GET / HTTP/1.1\nHost: %s\nConnection: close\nUser-Agent: %s %s\n\n",
mysnprintf(requeststring, sizeof requeststring, "GET / HTTP/1.1\r\nHost: %s\r\nConnection: close\r\nUser-Agent: %s %s\r\n\r\n",
GetRenderInfo(), GetCoreInfo(), GetOSVersion(), GetGLVersion(), URLencode(gl.vendorstring).GetChars(), URLencode(gl.modelstring).GetChars(), sys_statshost.GetHumanString(), GAMENAME, VERSIONSTR);
DPrintf(DMSG_NOTIFY, "Sending %s", requeststring);
std::thread t1(D_DoHTTPRequest, requeststring);

0 comments on commit 8171904

Please sign in to comment.
You can’t perform that action at this time.