use sendto() instead of send() because the latter is

broken on OSF1
This commit is contained in:
Andreas Gustafsson
2000-01-24 20:19:13 +00:00
parent 8eb9b0688e
commit f2edc636b0
+1 -1
View File
@@ -194,7 +194,7 @@ lwres_context_sendrecv(lwres_context_t *ctx,
struct sockaddr_in sin;
int fromlen;
ret = send(ctx->sock, sendbase, sendlen, 0);
ret = sendto(ctx->sock, sendbase, sendlen, 0, NULL, 0);
if (ret < 0)
return (ret);
if (ret != sendlen)