- Modified mesure documentation
This commit is contained in:
@ -1146,6 +1146,7 @@
|
||||
/*--------------------------------------------------------
|
||||
*/
|
||||
asyn_info->skt = 0;
|
||||
asyn_info->msg_id = 0;
|
||||
/*--------------------------------------------------------
|
||||
** Initialise the error info stack and pre-set the
|
||||
** routine name (in case of error).
|
||||
@ -1248,6 +1249,7 @@
|
||||
/*--------------------------------------------------------
|
||||
*/
|
||||
asyn_info->skt = 0;
|
||||
asyn_info->msg_id = 0;
|
||||
/*--------------------------------------------------------
|
||||
** Initialise the error info stack and pre-set the
|
||||
** routine name (in case of error).
|
||||
@ -1476,7 +1478,7 @@
|
||||
** Terminate list with *txt = NULL.
|
||||
*/
|
||||
int i, status, c_len, size, max_size, ncmnds;
|
||||
int bytes_to_come, bytes_left;
|
||||
int bytes_to_come = 1, bytes_left;
|
||||
char *nxt_byte_ptr;
|
||||
char err_text[80];
|
||||
char text[20];
|
||||
@ -1496,8 +1498,8 @@
|
||||
** also be marked to have been forcefully closed.
|
||||
*/
|
||||
if (asyn_info->skt <= 0) {
|
||||
memset (rcve_buff->msg_size,
|
||||
'0', sizeof (rcve_buff->msg_size));
|
||||
memset (rcve_buff,
|
||||
'0', sizeof (*rcve_buff));
|
||||
if ((AsynSrv_errcode == 0) && (asyn_info->skt < 0)) {
|
||||
AsynSrv_errcode = ASYNSRV__FORCED_CLOSED;
|
||||
}
|
||||
@ -1600,6 +1602,7 @@
|
||||
}
|
||||
|
||||
size = sizeof (rcve_buff->msg_size);
|
||||
memset(rcve_buff->msg_size,0,size);
|
||||
status = recv (asyn_info->skt, rcve_buff->msg_size, size, 0);
|
||||
if (status != size) {
|
||||
GetErrno (&AsynSrv_errno, &AsynSrv_vaxc_errno);
|
||||
|
@ -1986,6 +1986,7 @@
|
||||
EL734_errcode = EL734__BAD_MALLOC; /* malloc failed!! */
|
||||
return False;
|
||||
}
|
||||
memset(my_handle,0,sizeof(*my_handle));
|
||||
/*--------------------------------------------------------
|
||||
** Set up the connection
|
||||
*/
|
||||
|
@ -1210,6 +1210,7 @@
|
||||
EL737_errcode = EL737__BAD_MALLOC; /* malloc failed!! */
|
||||
return False;
|
||||
}
|
||||
memset(my_handle,0,sizeof(*my_handle));
|
||||
/*--------------------------------------------------------
|
||||
** Set up the connection
|
||||
*/
|
||||
|
Reference in New Issue
Block a user