aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usocket.c b/src/usocket.c
index bd18926..df19f78 100644
--- a/src/usocket.c
+++ b/src/usocket.c
@@ -236,7 +236,7 @@ int socket_sendto(p_socket ps, const char *data, size_t count, size_t *sent,
236 *sent = 0; 236 *sent = 0;
237 if (*ps == SOCKET_INVALID) return IO_CLOSED; 237 if (*ps == SOCKET_INVALID) return IO_CLOSED;
238 for ( ;; ) { 238 for ( ;; ) {
239 long put = (long) sendto(*ps, data, count, 0, addr, len); 239 long put = (long) sendto(*ps, data, count, 0, addr, len);
240 if (put >= 0) { 240 if (put >= 0) {
241 *sent = put; 241 *sent = put;
242 return IO_DONE; 242 return IO_DONE;