- Fixes for FOCUS 2D
- Mapped fileeval to exe manager - Updates for TRICS file formats
This commit is contained in:
@ -1499,9 +1499,9 @@
|
||||
*/
|
||||
if (asyn_info->skt <= 0) {
|
||||
memset (rcve_buff,
|
||||
'0', sizeof (*rcve_buff));
|
||||
'0', sizeof (*rcve_buff));
|
||||
if ((AsynSrv_errcode == 0) && (asyn_info->skt < 0)) {
|
||||
AsynSrv_errcode = ASYNSRV__FORCED_CLOSED;
|
||||
AsynSrv_errcode = ASYNSRV__FORCED_CLOSED;
|
||||
}
|
||||
return False;
|
||||
}
|
||||
@ -1601,6 +1601,7 @@
|
||||
** .. timeout of 1.5*tmo */
|
||||
}
|
||||
|
||||
memset (rcve_buff,0, sizeof (*rcve_buff));
|
||||
size = sizeof (rcve_buff->msg_size);
|
||||
memset(rcve_buff->msg_size,0,size);
|
||||
status = recv (asyn_info->skt, rcve_buff->msg_size, size, 0);
|
||||
|
@ -78,6 +78,9 @@ extern int close(int fp);
|
||||
|
||||
assert(self);
|
||||
assert(self->iClientSocket);
|
||||
|
||||
memset(&Req_buff,0,sizeof(struct req_buff_struct));
|
||||
memset(&Rply_buff,0,sizeof(struct rply_buff_struct));
|
||||
|
||||
/* prepare a message */
|
||||
Req_buff.bigend = htonl (0x12345678);
|
||||
@ -466,6 +469,8 @@ extern int close(int fp);
|
||||
{
|
||||
return INVALID_HARSH;
|
||||
}
|
||||
memset(&Req_buff,0,sizeof(struct req_buff_struct));
|
||||
memset(&Rply_buff,0,sizeof(struct rply_buff_struct));
|
||||
|
||||
/* fill in the request data structure */
|
||||
Req_buff.bigend = htonl (0x12345678);
|
||||
@ -700,6 +705,9 @@ extern int close(int fp);
|
||||
|
||||
assert(self);
|
||||
|
||||
memset(&Req_buff,0,sizeof(struct req_buff_struct));
|
||||
memset(&Rply_buff,0,sizeof(struct rply_buff_struct));
|
||||
|
||||
/* fill in the request data structure */
|
||||
Req_buff.bigend = htonl (0x12345678);
|
||||
Req_buff.cmnd = htonl (SQHM_CNCT);
|
||||
@ -804,6 +812,8 @@ extern int close(int fp);
|
||||
}
|
||||
|
||||
iRet = 1;
|
||||
memset(&Req_buff,0,sizeof(struct req_buff_struct));
|
||||
|
||||
|
||||
/* send close message, this helps the master to clean up */
|
||||
Req_buff.bigend = htonl (0x12345678);
|
||||
@ -1660,6 +1670,9 @@ extern int close(int fp);
|
||||
struct tof tofi;
|
||||
|
||||
assert(self);
|
||||
|
||||
memset(&Req_buff,0,sizeof(struct req_buff_struct));
|
||||
memset(&Rply_buff,0,sizeof(struct rply_buff_struct));
|
||||
|
||||
/* figure out how long we are going to be*/
|
||||
iLength = 24 + self->iBanks*sizeof(struct tof_bank);
|
||||
|
Reference in New Issue
Block a user