Assorted bug fixes

- In network.c and asynnet.c code was added to close the socket when a
  connect failed. Otherwise the socket would leak and the process
  runs out of file descriptors.
- Multicountserc now forcefully handles the counting status. Before I had
  the status flickering between counting and nobeam because the HM has no way to
  diagnose nobeam
- In motorsec.c the pDrivInt->iErrorCount was not reset to 0 properly. Leading to death.
- Removed the stack smashing test flag for the time being.
This commit is contained in:
2014-05-21 09:58:23 +02:00
parent 325fc6f313
commit 4f5bcaeb5e
6 changed files with 16 additions and 2 deletions

View File

@@ -235,9 +235,11 @@ static int DriveTaskFunc(void *data)
DevexecLog("STOP",taskData->name);
if(status == HWIdle || status == OKOK){
ExeInterest(pServ->pExecutor,taskData->name, "finished");
} else {
ExeInterest(pServ->pExecutor,taskData->name, "finished with problem");
}
SetStatus(eEager);
return 0;
}
/*--------------------------------------------------------------------------*/