chore: remove repetitive words

Signed-off-by: tgolang <seekseat@aliyun.com>
This commit is contained in:
tgolang 2024-03-11 15:50:43 +08:00 committed by Azat Khuzhin
parent e66df92cfc
commit 9c8860ec6c
5 changed files with 5 additions and 5 deletions

View File

@ -197,7 +197,7 @@ EVENT__ENABLE_VERBOSE_DEBUG:BOOL=OFF
# When cross compiling, forces running a test program that verifies that Kqueue
# works with pipes. Note that this requires you to manually run the test program
# on the the cross compilation target to verify that it works. See CMake
# on the cross compilation target to verify that it works. See CMake
# documentation for try_run for more details
EVENT__FORCE_KQUEUE_CHECK:BOOL=OFF

View File

@ -39,7 +39,7 @@ struct evrpc_hook {
TAILQ_ENTRY(evrpc_hook) next;
/* returns EVRPC_TERMINATE; if the rpc should be aborted.
* a hook is is allowed to rewrite the evbuffer
* a hook is allowed to rewrite the evbuffer
*/
int (*process)(void *, struct evhttp_request *,
struct evbuffer *, void *);

View File

@ -483,7 +483,7 @@ int evutil_closesocket(evutil_socket_t sock);
* listener socket: only the ones that implement a protocol where the
* client transmits before the server needs to respond.
*
* @param sock The listening socket to to make deferred
* @param sock The listening socket to make deferred
* @return 0 on success (whether the operation is supported or not),
* -1 on failure
*/

View File

@ -703,7 +703,7 @@ test_evbuffer_reserve_many(void *ptr)
int fill_first = ptr && !strcmp(ptr, "fill");
char *cp1, *cp2;
/* When reserving the the first chunk, we just allocate it */
/* When reserving the first chunk, we just allocate it */
n = evbuffer_reserve_space(buf, 128, v, 2);
evbuffer_validate(buf);
tt_int_op(n, ==, 1);

View File

@ -1877,7 +1877,7 @@ int sock_feed_event(port_state_t* port_state,
if (epoll_events == 0)
return 0;
/* If the the socket has the EPOLLONESHOT flag set, unmonitor all events,
/* If the socket has the EPOLLONESHOT flag set, unmonitor all events,
* even EPOLLERR and EPOLLHUP. But always keep looking for closed sockets. */
if (sock_state->user_events & EPOLLONESHOT)
sock_state->user_events = 0;