From 5574087ecd60b75a6435a853f983985e14263e22 Mon Sep 17 00:00:00 2001 From: zolliker Date: Fri, 23 Feb 2007 12:03:56 +0000 Subject: [PATCH] - fixed a bug in modification concerning sendingConnection --- conman.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conman.c b/conman.c index 3f4378b1..553fcbac 100644 --- a/conman.c +++ b/conman.c @@ -706,14 +706,18 @@ static void writeToLogFiles(SConnection *self, char *buffer) if(self->iMacro != 1) { sprintf(pBueffel,"To sock %d :",iRet); + sendingConnection = self; WriteToCommandLog(pBueffel,buffer); + sendingConnection = NULL; } else { if(iOut == eError || iOut == eWarning) { sprintf(pBueffel,"To sock %d :",iRet); + sendingConnection = self; WriteToCommandLog(pBueffel,buffer); + sendingConnection = NULL; } } }