*** empty log message ***

This commit is contained in:
zolliker
2005-09-02 13:20:56 +00:00
parent b160049aa7
commit b7ec21568e

View File

@ -606,7 +606,11 @@ static int doSockWrite(SConnection *self, char *buffer)
} }
else else
{ {
puts(buffer); if (HasNL(buffer)) {
fputs(buffer, stdout);
} else {
puts(buffer);
}
} }
return iRet; return iRet;
} }
@ -1950,8 +1954,18 @@ SConnection *SCLoad(SCStore *con) {
pCon = con->pCon; pCon = con->pCon;
if (pCon) { if (pCon) {
if (con->ident != pCon->ident) { if (con->ident != pCon->ident) {
con->pCon == NULL; /* connection has died */ con->pCon = NULL; /* connection is dead */
pCon = NULL;
} }
} }
return pCon; return pCon;
} }
/*--------------------------------------------------------------------------*/
void KillFreeConnections(void) {
SConnection *next;
while (freeConnections) {
next = freeConnections->next;
free(freeConnections);
freeConnections = next;
}
}