- Fixed a couple of compiler found bugs generated by the new C compiler
- Added support to tasinit for status display part of tas-application
This commit is contained in:
4
nread.c
4
nread.c
@@ -153,7 +153,7 @@ extern VerifyChannel(mkChannel *self); /* defined in network.c */
|
||||
assert(self);
|
||||
if(self->lMagic != NRMAGIC)
|
||||
{
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* find the entry to remove */
|
||||
@@ -190,7 +190,7 @@ extern VerifyChannel(mkChannel *self); /* defined in network.c */
|
||||
if(pNew)
|
||||
{
|
||||
/* create connection object */
|
||||
pRes = SCreateConnection(self->pMain->pSics,pNew,iRet);
|
||||
pRes = SCreateConnection(self->pMain->pSics,pNew,3);
|
||||
if(!pRes)
|
||||
{
|
||||
SICSLogWrite("Failure to allocate new Connection",eInternal);
|
||||
|
||||
Reference in New Issue
Block a user