mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-22 08:49:52 +02:00
New LTN12 test procedures (still short, but growing)
LTN12 avoids coroutines.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user