- Fixed proton current in mesure

This commit is contained in:
koennecke
2007-09-05 11:15:55 +00:00
parent 8693509927
commit cc0995541f
6 changed files with 1409 additions and 1802 deletions

View File

@@ -689,6 +689,7 @@ extern int VerifyChannel(mkChannel *self); /* defined in network.c */
int conCount = 0;
char num[50];
IPair *options = NULL;
char buffer[1024];
self = (pNetRead)pData;
assert(self);
@@ -707,6 +708,7 @@ extern int VerifyChannel(mkChannel *self); /* defined in network.c */
FD_ZERO(&lMask);
iRet = LLDnodePtr2First(self->iList);
iCount = 0;
buffer[0] = '\0';
while(iRet != 0)
{
LLDnodeDataTo(self->iList,&NItem);
@@ -714,6 +716,8 @@ extern int VerifyChannel(mkChannel *self); /* defined in network.c */
{
break;
}
sprintf(num,"%d, type %d:", NItem.pSock->sockid, NItem.eType);
strcat(buffer,num);
FD_SET(NItem.pSock->sockid,&lMask);
if(NItem.pSock->sockid > iCount)
{
@@ -725,6 +729,8 @@ extern int VerifyChannel(mkChannel *self); /* defined in network.c */
snprintf(num,50,"%d", conCount);
IFSetOption(pSICSOptions,"ConnectionCount",num);
IFSetOption(pSICSOptions,"ConMask",buffer);
/* the select itself */
tmo.tv_usec = self->iReadTimeout;