Added command stack wrappers and fixed up nread and removed dead code from nserver

Removed direct access from token.c
This commit is contained in:
2016-10-31 15:33:31 +01:00
parent 0e2605b570
commit 5f2abbb99a
5 changed files with 52 additions and 17 deletions

View File

@ -201,17 +201,6 @@ int InitServer(char *file, pServer * pServ)
IFDeleteOptions(pSICSOptions);
return 0;
}
/*
self->pServerPort = NETOpenPort(iPort);
if(!self->pServerPort)
{
printf("Cannot open Server Socket\n");
DeleteInterp(self->pSics);
IFDeleteOptions(pSICSOptions);
return 0;
}
NetReadRegister(pReader, self->pServerPort, naccept, NULL);
*/
NetReadInstallANETPort(pReader, naccept, iPort);
/* the device executor */