diff options
author | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2021-11-12 14:23:08 +0200 |
---|---|---|
committer | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2022-02-25 11:41:34 +0200 |
commit | 2905e7667e9e17d69ae1d23dbc970d1efe2d3d7e (patch) | |
tree | 116b218684dfe4a22f30df9f6a9cf9edf7249981 /src/lib | |
parent | 45416356ed7dc5551cda491c01a4d7df1ed97a20 (diff) | |
download | tor-2905e7667e9e17d69ae1d23dbc970d1efe2d3d7e.tar.gz tor-2905e7667e9e17d69ae1d23dbc970d1efe2d3d7e.zip |
Fix typos
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/metrics/metrics_store.c | 2 | ||||
-rw-r--r-- | src/lib/thread/compat_winthreads.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/metrics/metrics_store.c b/src/lib/metrics/metrics_store.c index 33b1780438..b017e97688 100644 --- a/src/lib/metrics/metrics_store.c +++ b/src/lib/metrics/metrics_store.c @@ -60,7 +60,7 @@ get_output(const metrics_store_t *store, buf_t *data, fmt_driver_fn_t fmt) tor_assert(fmt); STRMAP_FOREACH(store->entries, key, const smartlist_t *, entries) { - /* Indicate that we've formatted the coment already for the entries. */ + /* Indicate that we've formatted the comment already for the entries. */ bool comment_formatted = false; SMARTLIST_FOREACH_BEGIN(entries, const metrics_store_entry_t *, entry) { fmt(entry, data, comment_formatted); diff --git a/src/lib/thread/compat_winthreads.c b/src/lib/thread/compat_winthreads.c index e25fb52e39..f28cdcca00 100644 --- a/src/lib/thread/compat_winthreads.c +++ b/src/lib/thread/compat_winthreads.c @@ -146,7 +146,7 @@ tor_cond_wait(tor_cond_t *cond, tor_mutex_t *lock_, const struct timeval *tv) { // recursive SRW locks are not supported because they need extra logic for // acquiring and releasing but SleepConditionVariableSRW will use the OS - // lock relase function which lacks our extra logic + // lock release function which lacks our extra logic tor_assert(lock_->type == NON_RECURSIVE); SRWLOCK *lock = &lock_->mutex; DWORD ms = INFINITE; |