Skip to content

Commit

Permalink
Merge pull request #55 from AllegianceZone/revert-54-anothernewdomain
Browse files Browse the repository at this point in the history
Revert "stupid hard coded crap that needs a home in the config file"
  • Loading branch information
ImagoTrigger committed Aug 15, 2017
2 parents b707b8f + 9f7799e commit 3d7282a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/WinTrek/trekinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2552,8 +2552,8 @@ class InputMapPopup :
pHTTP settings;
sprintf(settings.hdrs, "Content-Type: application/octet-stream\r\nUSER: %s\r\n", (PCC)UTL::char2hex((const unsigned char*)(PCC)strName, strName.GetLength()));
Strcpy(settings.verb, "POST");
Strcpy(settings.uri, "/inputmap.cgi");
Strcpy(settings.host, "imago.buildvideogames.com");
Strcpy(settings.uri, "/inputmap.ashx");
Strcpy(settings.host, "allegiancezone.com");
ZeroMemory(settings.data, BUFFSIZE);
settings.data[0] = 0x00;
settings.size = 0;
Expand All @@ -2580,8 +2580,8 @@ class InputMapPopup :
pHTTP settings;
sprintf(settings.hdrs, "USER: %s\r\n", (PCC)UTL::char2hex((const unsigned char*)(PCC)strName, strName.GetLength()));
Strcpy(settings.verb, "GET");
Strcpy(settings.uri, "/inputmap.cgi");
Strcpy(settings.host, "imago.buildvideogames.com");
Strcpy(settings.uri, "/inputmap.ashx");
Strcpy(settings.host, "allegiancezone.com");
settings.pPopup = this;
ZeroMemory(settings.data, BUFFSIZE);
settings.data[0] = 0x00;
Expand Down
2 changes: 1 addition & 1 deletion src/lobby/pkcs5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ bool IsRFC2898Valid(char * szUser, char * szPass, char * szReason, int & iID)
{
char szHdrs[512];
sprintf(szHdrs,"USER: %s\r\n",szUser);
ZString Response = UTL::DoHTTP(szHdrs,"imago.buildvideogames.com","GET","/lobbylogon.cgi","",0,true);
ZString Response = UTL::DoHTTP(szHdrs,"allegiancezone.com","GET","/lobbylogon.ashx","",0,true);
char * szToken;
char * szRes = (char*)_alloca(512);
Strcpy(szRes,(PCC)Response);
Expand Down

0 comments on commit 3d7282a

Please sign in to comment.