commit 6980a67f0d2f84667354ec208ddad4aa4013fc4e
parent b6bb346b9350f3ebb61d186386f45b0b82a87de1
Author: Roger Dingledine <arma@torproject.org>
Date: Wed, 11 Feb 2026 12:31:26 -0500
typos in comments
Diffstat:
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/lib/dispatch/dispatch_cfg.c b/src/lib/dispatch/dispatch_cfg.c
@@ -93,7 +93,7 @@ dcfg_type_set_fns(dispatch_cfg_t *cfg, msg_type_id_t type,
/**
* Associate a receiver with a message ID. Multiple receivers may be
- * associated with a single messasge ID.
+ * associated with a single message ID.
*
* Return 0 on success, on failure.
**/
diff --git a/src/lib/evloop/token_bucket.c b/src/lib/evloop/token_bucket.c
@@ -58,7 +58,7 @@ token_bucket_raw_reset(token_bucket_raw_t *bucket,
}
/**
- * Adust a preexisting token bucket to respect the new configuration
+ * Adjust a preexisting token bucket to respect the new configuration
* <b>cfg</b>, by decreasing its current level if needed. */
void
token_bucket_raw_adjust(token_bucket_raw_t *bucket,
diff --git a/src/lib/fs/conffile.c b/src/lib/fs/conffile.c
@@ -54,7 +54,7 @@ config_get_lines_include(const char *string, config_line_t **result,
opened_lst, 1, NULL, config_process_include);
}
-/** Return a list of paths obtained when expading globs in <b>pattern</b>.
+/** Return a list of paths obtained when expanding globs in <b>pattern</b>.
* If <b>pattern</b> has no globs, return a list with <b>pattern</b> in it.
* If <b>opened_files</b> is provided, add paths opened by glob to it.
* Return NULL on failure. */
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
@@ -23,7 +23,7 @@
*
* 28/06/2017: This value was increased from 16 MB to 20 MB after we introduced
* LZMA support in Tor (0.3.1.1-alpha). We limit our LZMA coder to 16 MB, but
- * liblzma have a small overhead that we need to compensate for to avoid being
+ * liblzma has a small overhead that we need to compensate for to avoid being
* killed by the sandbox.
*/
#define MALLOC_MP_LIM (20*1024*1024)
@@ -332,7 +332,7 @@ static int filter_nopar_gen[] = {
};
/* opendir is not a syscall but it will use either open or openat. We do not
- * want the decision to allow open/openat to be the callers reponsability, so
+ * want the decision to allow open/openat to be the callers responsibility, so
* we create a phony syscall number for opendir and sb_opendir will choose the
* correct syscall. */
#define PHONY_OPENDIR_SYSCALL -2