From 79dc8789f5a679391639fe9995a47f2bcd997e07 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 20 Jul 2020 21:59:10 +0800 Subject: [PATCH] doc: fix typo in thread.h s/evthred_use_pthreads_with_flags/evthread_use_pthreads_with_flags/ --- include/event2/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/event2/thread.h b/include/event2/thread.h index 75dbfa1d..519b4d30 100644 --- a/include/event2/thread.h +++ b/include/event2/thread.h @@ -218,7 +218,7 @@ int evthread_use_pthreads(void); /** * Sets up Libevent for use with Pthreads locking and thread ID functions. - * Use evthred_use_pthreads_with_flags() to use Pthreads locking, taking the + * Use evthread_use_pthreads_with_flags() to use Pthreads locking, taking the * specified flags under consideration. * * @param flags the flags to apply when setting up Pthreads locking. @see EVTHREAD_PTHREAD_* -- 2.50.1