From 462c1036fc3daefe7ee81262134bd6542e4cc8be Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Sun, 17 Oct 2021 12:09:45 +0200 Subject: [PATCH] Fix spelling errors found by Lintian --- bip.conf.5 | 6 +++--- src/bip.c | 8 ++++---- src/bip_main.c | 2 +- src/connection.c | 2 +- src/log.c | 2 +- src/util.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bip.conf.5 b/bip.conf.5 index 23ccf34..8da8e50 100644 --- a/bip.conf.5 +++ b/bip.conf.5 @@ -1,4 +1,4 @@ -.TH BIP.CONF 5 "23 February 2017" +.TH BIP.CONF 5 "17 October 2021" .SH NAME @@ -238,7 +238,7 @@ Coyote's. .TP \fBbacklog_timestamp\fP (default: \fBtime\fP) \fBnone\fP disables timestamps in backlogged lines, \fBtime\fP or -\fBdatetime\fP allow to select the timestamp format in backlogged lines. +\fBdatetime\fP allow one to select the timestamp format in backlogged lines. .TP \fBbacklog_no_timestamp\fP (default: \fBfalse\fP) @@ -262,7 +262,7 @@ query. .TP \fBbacklog_reset_connection\fP (default: \fBfalse\fP) When true, backlog_reset_on_talk option above is changed in that the whole -network backlog is resetted when you talk in the network. +network backlog is reset when you talk in the network. .TP \fBbacklog_msg_only\fP (default: \fBfalse\fP) diff --git a/src/bip.c b/src/bip.c index 3caf6b9..3ca2d80 100644 --- a/src/bip.c +++ b/src/bip.c @@ -230,7 +230,7 @@ pid_is_there: if (pid) mylog(LOG_INFO, "pid file found (pid %ld).", pid); mylog(LOG_FATAL, - "Another instance of bip is certainly runing."); + "Another instance of bip is certainly running."); mylog(LOG_FATAL, "If you are sure this is not the case remove" " %s.", conf_pid_file); exit(2); @@ -760,7 +760,7 @@ static int add_user(bip_t *bip, list_t *data, struct historical_directives *hds) break; #endif default: - conf_die(bip, "Uknown keyword in user statement"); + conf_die(bip, "Unknown keyword in user statement"); return 0; } if (t->tuple_type == TUPLE_STR && t->pdata) @@ -1664,13 +1664,13 @@ void bip_notify(struct link_client *ic, char *fmt, ...) void adm_blreset(struct link_client *ic) { log_reset_all(LINK(ic)->log); - bip_notify(ic, "backlog resetted for this network."); + bip_notify(ic, "backlog reset for this network."); } void adm_blreset_store(struct link_client *ic, const char *store) { log_reset_store(LINK(ic)->log, store); - bip_notify(ic, "backlog resetted for %s.", store); + bip_notify(ic, "backlog reset for %s.", store); } void adm_follow_nick(struct link_client *ic, const char *val) diff --git a/src/bip_main.c b/src/bip_main.c index c1d0d00..22570a5 100644 --- a/src/bip_main.c +++ b/src/bip_main.c @@ -88,7 +88,7 @@ static void version() printf( "Bip IRC Proxy - " PACKAGE_VERSION "\n" "Copyright © Arnaud Cornet and Loïc Gomez (2004 - 2008)\n" -"Distributed under the GNU Public License Version 2\n"); +"Distributed under the GNU General Public License Version 2\n"); } static void log_file_setup(void) diff --git a/src/connection.c b/src/connection.c index 0dad476..44a1e04 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1463,7 +1463,7 @@ static int SSLize(connection_t *cn, int *nc) len = strlen(buf); if (len > 0) buf[len - 1] = '\0'; - mylog(LOG_DEBUG, "Negociated ciphers: %s", buf); + mylog(LOG_DEBUG, "Negotiated ciphers: %s", buf); cn->connected = CONN_OK; connection_connected(cn); diff --git a/src/log.c b/src/log.c index c6f04d9..b6fdc55 100644 --- a/src/log.c +++ b/src/log.c @@ -213,7 +213,7 @@ static void log_reset(logstore_t *store) void log_reinit(logstore_t *store) { - mylog(LOG_ERROR, "%s is inconsistant, droping backlog info", + mylog(LOG_ERROR, "%s is inconsistent, droping backlog info", store->name); log_reset(store); } diff --git a/src/util.h b/src/util.h index 1ce871e..aa37cae 100644 --- a/src/util.h +++ b/src/util.h @@ -125,7 +125,7 @@ static inline void list_it_next(list_iterator_t *ti) assert(ti); if (ti->cur) { if (ti->next) - fatal("list_it_next: inconsistent interator state"); + fatal("list_it_next: inconsistent iterator state"); ti->cur = ti->cur->next; } else if (ti->next) { ti->cur = ti->next;