Fix spelling errors found by Lintian

This commit is contained in:
Pierre-Louis Bonicoli 2021-10-17 12:09:45 +02:00
parent 9aa9e719d9
commit 462c1036fc
Signed by: pilou
GPG Key ID: 06914C4A5EDAA6DD
6 changed files with 11 additions and 11 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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);

View File

@ -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);
}

View File

@ -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;