New LTN12 test procedures (still short, but growing)
LTN12 avoids coroutines.
This commit is contained in:
parent
50da56dbee
commit
05e8f24385
5 changed files with 336 additions and 113 deletions
|
@ -193,7 +193,7 @@ int sock_send(p_sock ps, const char *data, size_t count, size_t *sent, p_tm tm)
|
|||
*sent = 0;
|
||||
for ( ;; ) {
|
||||
/* try to send something */
|
||||
int put = send(*ps, data, count, 0);
|
||||
int put = send(*ps, data, (int) count, 0);
|
||||
/* if we sent something, we are done */
|
||||
if (put > 0) {
|
||||
*sent = put;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue