mirror of
https://github.com/curl/curl.git
synced 2026-07-26 06:27:32 +03:00
Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)
This commit is contained in:
parent
eea468918e
commit
912c29fd8c
1 changed files with 2 additions and 2 deletions
|
|
@ -515,8 +515,8 @@ int main(int argc, char **argv)
|
|||
|
||||
do {
|
||||
fromlen = sizeof(from);
|
||||
n = (ssize_t)sreadfrom(sock, buf, sizeof(buf), 0,
|
||||
(struct sockaddr *)&from, &fromlen);
|
||||
n = (ssize_t)recvfrom(sock, buf, sizeof(buf), 0,
|
||||
(struct sockaddr *)&from, &fromlen);
|
||||
if (n < 0) {
|
||||
logmsg("recvfrom:\n");
|
||||
result = 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue