Redirect port fix.

This commit is contained in:
cora32 2014-11-02 14:19:22 +03:00
parent 6ad93f6ca2
commit e782bc92b8

View File

@ -181,7 +181,7 @@ int Lexems::globalSearchNeg(const char *buffcpy, char *ip, int port)
{ {
if(gNegDebugMode) if(gNegDebugMode)
{ {
stt->doEmitionDebugFoundData("[<a href=\"http://" + QString(ip) + ":" + QString::number(port) + "/\"><font color=\"#0084ff\">" + QString(ip) + ":" + QString::number(port) + "</font></a>" + "] Negative hit: \"" + QString::fromLocal8Bit(negWord).toHtmlEscaped() + "\""); stt->doEmitionDebugFoundData("[<a href=\"http://" + QString(ip) + ":" + QString::number(port) + "/\"><font color=\"#0084ff\">" + QString(ip) + ":" + QString::number(port) + "</font></a>" + "] Negative hit: \"" + QString::fromLocal8Bit(negWord).toHtmlEscaped() + "\"");
if(strlen(negWord) < 2) if(strlen(negWord) < 2)
{ {
stt->doEmitionDebugFoundData(" Len:" + QString::number(strlen(negWord))); stt->doEmitionDebugFoundData(" Len:" + QString::number(strlen(negWord)));
@ -1849,7 +1849,7 @@ int redirectReconnect(char *cookie, char *ip, int port, char *str, Lexems *ls, P
Connector con; Connector con;
char tempIP[MAX_ADDR_LEN] = {0}; char tempIP[MAX_ADDR_LEN] = {0};
strcpy(tempIP, ip); strcpy(tempIP, ip);
int tempPort = 80; int tempPort = port;
char tempPath[1024] = {0}; char tempPath[1024] = {0};
char mes[2048]= {0}; char mes[2048]= {0};