From a8655cfb739f7da56f026c224a9c6f1880cbc7a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=A0=91=E6=96=B0?= Date: Tue, 12 Oct 2021 14:32:10 +0800 Subject: [PATCH] format code --- lib_fiber/c/src/hook/poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_fiber/c/src/hook/poll.c b/lib_fiber/c/src/hook/poll.c index 50033e5ef..c74a7d0ce 100644 --- a/lib_fiber/c/src/hook/poll.c +++ b/lib_fiber/c/src/hook/poll.c @@ -140,8 +140,8 @@ static POLLFD *pollfd_alloc(POLL_EVENT *pe, struct pollfd *fds, nfds_t nfds) for (i = 0; i < nfds; i++) { pfds[i].fe = fiber_file_open(fds[i].fd); #ifdef HAS_IOCP - pfds[i].fe->buff = NULL; - pfds[i].fe->size = 0; + pfds[i].fe->buff = NULL; + pfds[i].fe->size = 0; #endif pfds[i].pe = pe; pfds[i].pfd = &fds[i];