diff options
author | dota17 <chenguopingdota@163.com> | 2019-08-06 18:19:15 +0800 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2019-08-09 12:34:46 +0300 |
commit | 9c151f3c3413c5ee6bad498aca84be481196bbc7 (patch) | |
tree | 34833526b75ad277499f9c978bfda11126610596 /sample | |
parent | 101fbe31005c07cde0fdbdb38a4f6c3499e07edc (diff) | |
download | libevent-9c151f3c3413c5ee6bad498aca84be481196bbc7.tar.gz |
Fix typos in comments (sample/test/event-internal.h)
Diffstat (limited to 'sample')
-rw-r--r-- | sample/event-read-fifo.c | 4 | ||||
-rw-r--r-- | sample/signal-test.c | 4 | ||||
-rw-r--r-- | sample/time-test.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sample/event-read-fifo.c b/sample/event-read-fifo.c index 27b0b530..a17b9bd9 100644 --- a/sample/event-read-fifo.c +++ b/sample/event-read-fifo.c @@ -129,10 +129,10 @@ main(int argc, char **argv) fprintf(stderr, "Write data to %s\n", fifo); #endif - /* Initalize the event library */ + /* Initialize the event library */ base = event_base_new(); - /* Initalize one event */ + /* Initialize one event */ #ifdef _WIN32 evfifo = event_new(base, (evutil_socket_t)socket, EV_READ|EV_PERSIST, fifo_read, event_self_cbarg()); diff --git a/sample/signal-test.c b/sample/signal-test.c index a8564840..6468c119 100644 --- a/sample/signal-test.c +++ b/sample/signal-test.c @@ -56,14 +56,14 @@ main(int argc, char **argv) (void) WSAStartup(wVersionRequested, &wsaData); #endif - /* Initalize the event library */ + /* Initialize the event library */ base = event_base_new(); if (!base) { ret = 1; goto out; } - /* Initalize one event */ + /* Initialize one event */ signal_int = evsignal_new(base, SIGINT, signal_cb, event_self_cbarg()); if (!signal_int) { ret = 2; diff --git a/sample/time-test.c b/sample/time-test.c index 8d0fd91b..671a1d21 100644 --- a/sample/time-test.c +++ b/sample/time-test.c @@ -88,10 +88,10 @@ main(int argc, char **argv) flags = 0; } - /* Initalize the event library */ + /* Initialize the event library */ base = event_base_new(); - /* Initalize one event */ + /* Initialize one event */ event_assign(&timeout, base, -1, flags, timeout_cb, (void*) &timeout); evutil_timerclear(&tv); |