Skip to content

Commit

Permalink
- fixed survey request.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Aug 9, 2019
1 parent 3b41848 commit 8171904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d_anonstats.cpp
Expand Up @@ -300,7 +300,7 @@ void D_DoAnonStats()
if (sentstats_hwr_done >= CHECKVERSION) return;

static char requeststring[1024];
mysnprintf(requeststring, sizeof requeststring, "GET /stats_35.py?render=%i&cores=%i&os=%i&glversion=%i&vendor=%s&model=%s HTTP/1.1\nHost: %s\nConnection: close\nUser-Agent: %s %s\n\n",
mysnprintf(requeststring, sizeof requeststring, "GET /stats_201903.py?render=%i&cores=%i&os=%i&glversion=%i&vendor=%s&model=%s 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);
Expand Down

0 comments on commit 8171904

Please sign in to comment.