- fixed a bug in modification concerning sendingConnection
This commit is contained in:
4
conman.c
4
conman.c
@ -706,14 +706,18 @@ static void writeToLogFiles(SConnection *self, char *buffer)
|
|||||||
if(self->iMacro != 1)
|
if(self->iMacro != 1)
|
||||||
{
|
{
|
||||||
sprintf(pBueffel,"To sock %d :",iRet);
|
sprintf(pBueffel,"To sock %d :",iRet);
|
||||||
|
sendingConnection = self;
|
||||||
WriteToCommandLog(pBueffel,buffer);
|
WriteToCommandLog(pBueffel,buffer);
|
||||||
|
sendingConnection = NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(iOut == eError || iOut == eWarning)
|
if(iOut == eError || iOut == eWarning)
|
||||||
{
|
{
|
||||||
sprintf(pBueffel,"To sock %d :",iRet);
|
sprintf(pBueffel,"To sock %d :",iRet);
|
||||||
|
sendingConnection = self;
|
||||||
WriteToCommandLog(pBueffel,buffer);
|
WriteToCommandLog(pBueffel,buffer);
|
||||||
|
sendingConnection = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user