- Fixed SerPortServer for SL
This commit is contained in:
@ -1158,7 +1158,9 @@ static int RS__MAX_ASYNCH = 20; /* Asynch "ports" 0 - 19 will be allowed */
|
|||||||
Cl_info[i].remaining -= bytes_got;
|
Cl_info[i].remaining -= bytes_got;
|
||||||
Cl_info[i].nxt_rply_ptr1 += bytes_got;
|
Cl_info[i].nxt_rply_ptr1 += bytes_got;
|
||||||
|
|
||||||
memcpy (Ts_info[indx].tp_ahd, &rcve[bytes_got], (j - bytes_got));
|
if( (j - bytes_got) > 0){
|
||||||
|
memcpy (Ts_info[indx].tp_ahd, &rcve[bytes_got], (j - bytes_got));
|
||||||
|
}
|
||||||
Ts_info[indx].tp_nxt = j - bytes_got;
|
Ts_info[indx].tp_nxt = j - bytes_got;
|
||||||
}
|
}
|
||||||
if (term_fnd) { /* Response complete? */
|
if (term_fnd) { /* Response complete? */
|
||||||
|
Reference in New Issue
Block a user