- repaired commandlog tail command (inserted SCPureSocketWrite)

- fixed mechanism for suppressing double lines in config listen mode
This commit is contained in:
zolliker
2009-02-25 14:47:33 +00:00
parent 2fd07071d9
commit 07bf425e50
2 changed files with 27 additions and 10 deletions

View File

@@ -244,8 +244,8 @@ static void PrintTail(int iNum, SConnection * pCon)
*/
for (i = 0; i < iNum; i++) {
pPtr = (char *) getCircular(pTail);
if (pCon->pSock && pPtr != NULL) {
TelnetWrite(pCon->pSock, pPtr);
if (pPtr != NULL) {
SCPureSockWrite(pCon, pPtr, eWarning);
}
nextCircular(pTail);
}