- fixed a bug in modification concerning sendingConnection

This commit is contained in:
zolliker
2007-02-23 12:03:56 +00:00
parent faec15b5f6
commit 5574087ecd

View File

@ -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;
} }
} }
} }