[vlc-commits] [Git][videolan/vlc][master] interrupt: fix inverted variable name
Jean-Baptiste Kempf
gitlab at videolan.org
Thu Jun 10 19:29:30 UTC 2021
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
78727053 by Zhao Zhili at 2021-06-10T17:09:23+00:00
interrupt: fix inverted variable name
- - - - -
1 changed file:
- src/misc/interrupt.c
Changes:
=====================================
src/misc/interrupt.c
=====================================
@@ -524,7 +524,7 @@ ssize_t vlc_sendto_i11e(int fd, const void *buf, size_t len, int flags,
}
int vlc_accept_i11e(int fd, struct sockaddr *addr, socklen_t *addrlen,
- bool blocking)
+ bool nonblock)
{
struct pollfd ufd;
@@ -534,7 +534,7 @@ int vlc_accept_i11e(int fd, struct sockaddr *addr, socklen_t *addrlen,
if (vlc_poll_i11e(&ufd, 1, -1) < 0)
return -1;
- return vlc_accept(fd, addr, addrlen, blocking);
+ return vlc_accept(fd, addr, addrlen, nonblock);
}
#else /* _WIN32 */
@@ -665,7 +665,7 @@ ssize_t vlc_sendto_i11e(int fd, const void *buf, size_t len, int flags,
}
int vlc_accept_i11e(int fd, struct sockaddr *addr, socklen_t *addrlen,
- bool blocking)
+ bool nonblock)
{
struct pollfd ufd;
@@ -675,7 +675,7 @@ int vlc_accept_i11e(int fd, struct sockaddr *addr, socklen_t *addrlen,
if (vlc_poll_i11e(&ufd, 1, -1) < 0)
return -1;
- int cfd = vlc_accept(fd, addr, addrlen, blocking);
+ int cfd = vlc_accept(fd, addr, addrlen, nonblock);
if (cfd < 0 && WSAGetLastError() == WSAEWOULDBLOCK)
errno = EAGAIN;
return cfd;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/787270534aee964a51db6dc86d764f2834c284ae
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/787270534aee964a51db6dc86d764f2834c284ae
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list