From aff4dda17c29d79f4024d65d79f6679e63f3dee8 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Tue, 2 Jan 2024 17:49:22 -0500 Subject: [PATCH] Spellcheck tox-bootstrapd --- other/bootstrap_daemon/README.md | 2 +- other/bootstrap_daemon/docker/tox-bootstrapd.sha256 | 2 +- other/bootstrap_daemon/src/command_line_arguments.c | 6 +++--- other/bootstrap_daemon/src/config.c | 4 ++-- other/bootstrap_daemon/src/config.h | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/other/bootstrap_daemon/README.md b/other/bootstrap_daemon/README.md index 0f5ff4b7..2bda810f 100644 --- a/other/bootstrap_daemon/README.md +++ b/other/bootstrap_daemon/README.md @@ -259,7 +259,7 @@ docker run -d --name tox-bootstrapd --restart always \ toxchat/bootstrap-node ``` -We create a new user and protect its home directory in order to mount it in the Docker image, so that the kyepair the daemon uses would be stored on the host system, which makes it less likely that you would loose the keypair while playing with or updating the Docker container. +We create a new user and protect its home directory in order to mount it in the Docker image, so that the keypair the daemon uses would be stored on the host system, which makes it less likely that you would loose the keypair while playing with or updating the Docker container. You can check logs for your public key or any errors: ```sh diff --git a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 index 8e90c895..f232dfd2 100644 --- a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 +++ b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 @@ -1 +1 @@ -85e90cc6f62d43a137d3665dc307c95e0560599b7200218ae52b76fa4eb286f8 /usr/local/bin/tox-bootstrapd +0030bf6448655c3299a8f0552cae1f78340db9cec33e2e479aad497ec3c03de4 /usr/local/bin/tox-bootstrapd diff --git a/other/bootstrap_daemon/src/command_line_arguments.c b/other/bootstrap_daemon/src/command_line_arguments.c index 16b76ae1..e53a15d4 100644 --- a/other/bootstrap_daemon/src/command_line_arguments.c +++ b/other/bootstrap_daemon/src/command_line_arguments.c @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later - * Copyright © 2016-2018 The TokTok team. + * Copyright © 2016-2024 The TokTok team. * Copyright © 2015-2016 Tox project. */ @@ -24,7 +24,7 @@ */ static void print_help(void) { - // 2 space ident + // 2 space indent // make sure all lines fit into 80 columns // make sure options are listed in alphabetical order log_write(LOG_LEVEL_INFO, @@ -39,7 +39,7 @@ static void print_help(void) " (detach from the terminal) and won't use the PID file.\n" " --help Print this help message.\n" " --log-backend=BACKEND Specify which logging backend to use.\n" - " Valid BACKEND values (case sensetive):\n" + " Valid BACKEND values (case sensitive):\n" " syslog Writes log messages to syslog.\n" " Default option when no --log-backend is\n" " specified.\n" diff --git a/other/bootstrap_daemon/src/config.c b/other/bootstrap_daemon/src/config.c index 200a94fa..eccc3ebe 100644 --- a/other/bootstrap_daemon/src/config.c +++ b/other/bootstrap_daemon/src/config.c @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later - * Copyright © 2016-2023 The TokTok team. + * Copyright © 2016-2024 The TokTok team. * Copyright © 2014-2016 Tox project. */ @@ -412,7 +412,7 @@ int bootstrap_from_config(const char *cfg_file_path, DHT *dht, int enable_ipv6) log_write(LOG_LEVEL_INFO, "Successfully added bootstrap node #%d: %s:%d %s\n", i, bs_address, bs_port, bs_public_key); next: - // config_setting_lookup_string() allocates string inside and doesn't allow us to free it direcly + // config_setting_lookup_string() allocates string inside and doesn't allow us to free it directly // though it's freed when the element is removed, so we free it right away in order to keep memory // consumption minimal config_setting_remove_elem(node_list, 0); diff --git a/other/bootstrap_daemon/src/config.h b/other/bootstrap_daemon/src/config.h index 50507b55..ae9aff8c 100644 --- a/other/bootstrap_daemon/src/config.h +++ b/other/bootstrap_daemon/src/config.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-or-later - * Copyright © 2016-2018 The TokTok team. + * Copyright © 2016-2024 The TokTok team. * Copyright © 2014-2016 Tox project. */ @@ -30,7 +30,7 @@ int get_general_config(const char *cfg_file_path, char **pid_file_path, char **k * Bootstraps off nodes listed in the config file. * * @return 1 on success, some or no bootstrap nodes were added - * 0 on failure, a error accured while parsing config file. + * 0 on failure, an error occurred while parsing the config file. */ int bootstrap_from_config(const char *cfg_file_path, DHT *dht, int enable_ipv6);