From cb8e6b94d8d3cbe0e81c40059293c7096b965b38 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 29 Sep 2017 13:25:11 -0700 Subject: [PATCH] Fixed libzt lwip_select typo --- src/libzt.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libzt.cpp b/src/libzt.cpp index 8d86d71..f61b826 100644 --- a/src/libzt.cpp +++ b/src/libzt.cpp @@ -163,14 +163,14 @@ int zts_close(int fd) int zts_poll(struct pollfd *fds, nfds_t nfds, int timeout) { - DEBUG_EXTRA(); + DEBUG_ERROR("warning, this is not implemented"); return poll(fds, nfds, timeout); } int zts_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) { - DEBUG_EXTRA(); - return select(nfds, readfds, writefds, exceptfds, timeout); + //DEBUG_EXTRA(); + return lwip_select(nfds, readfds, writefds, exceptfds, timeout); } int zts_fcntl(int fd, int cmd, int flags) @@ -228,12 +228,12 @@ ssize_t zts_recvmsg(int fd, struct msghdr *msg,int flags) } int zts_read(int fd, void *buf, size_t len) { - DEBUG_TRANS("fd=%d, len=%d", fd, len); + //DEBUG_TRANS("fd=%d, len=%d", fd, len); return lwip_read(fd, buf, len); } int zts_write(int fd, const void *buf, size_t len) { - DEBUG_TRANS("fd=%d, len=%d", fd, len); + //DEBUG_TRANS("fd=%d, len=%d", fd, len); return lwip_write(fd, buf, len); }