repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 56ed5c90ad02fb10cdbd7767a9dd85b2e06cdb19:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 56ed5c90ad02fb10cdbd7767a9dd85b2e06cdb19
Author: Alexander Barton 
Date:   Sun Dec 25 15:16:31 2022 +0100

    Spelling fixes, mostly in file comments

diff --git a/contrib/README b/contrib/README
index 4a6229a13068e32267a270dd0c369d03e06b6d1d..
index ..b956d0eb7b79ee4c978b7acb5b1bc1b4e86dda1e 100644
--- a/contrib/README
+++ b/contrib/README
@@ -43,7 +43,7 @@ ngircd.spec
  - RPM "spec" file.

 nglog.sh
- - Colorizes the log messages of ngircd(8) accoring to their log level.
+ - Colorizes the log messages of ngircd(8) according to their log level.

 platformtest.sh
  - Build ngIRCd and output a "result line" suitable for doc/Platforms.txt.
diff --git a/contrib/nglog.sh b/contrib/nglog.sh
index 852ee93c1e40498314d19f4d7a2986d31166a208..
index ..cb4eb3e9c9bfb145ef5510759357f48c68ffa6f8 100755
--- a/contrib/nglog.sh
+++ b/contrib/nglog.sh
@@ -10,7 +10,7 @@
 # Please read the file COPYING, README and AUTHORS for more information.
 #
 # This script parses the log output of ngircd(8), and colorizes the messages
-# accoring to their log level. Example usage:
+# according to their log level. Example usage:
 # ./src/ngircd/ngircd -f $PWD/doc/sample-ngircd.conf -np | ./contrib/nglog.sh
 #

diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h
index b964c4070282027a0a53bb3506c66a1b6accfc4a..
index ..a02f5e1431847b9af212593ab8bc8f736abcc886 100644
--- a/src/ngircd/conf.h
+++ b/src/ngircd/conf.h
@@ -222,7 +222,7 @@ GLOBAL bool Conf_ConnectIPv6;
 /** Try to connect to remote systems using the IPv4 protocol (true) */
 GLOBAL bool Conf_ConnectIPv4;

-/** Idle timout (seconds), after which the daemon should exit */
+/** Idle timeout (seconds), after which the daemon should exit */
 GLOBAL int Conf_IdleTimeout;

 /** Maximum number of simultaneous connections to this server */
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 1bd72776a2bbe015f73bc0a8ab712ea28b6ed3f5..
index ..7e7f6e65181bd53032c78eb1c719952a84e90b40 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -1454,7 +1454,7 @@ New_Connection(int Sock, UNUSED bool IsSSL)
 	Account_Connection();

 #ifdef SSL_SUPPORT
-	/* Delay connection initalization until SSL handshake is finished */
+	/* Delay connection initialization until SSL handshake is finished */
 	if (!IsSSL)
 #endif
 		Conn_StartLogin(new_sock);
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index ff8cd226d641b0dced4b398438b74c14f2df983a..
index ..c5371e87371708a9f4d71978e0e8dfddce402795 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -123,7 +123,7 @@
 /** Max. host name length (including NULL). */
 #define CLIENT_HOST_LEN 64

-/** Max. mask lenght (including NULL). */
+/** Max. mask length (including NULL). */
 #define MASK_LEN (2 * CLIENT_HOST_LEN)

 /** Max. length of all client modes (including NULL). */
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 812429bbf33eadc2a0dbd5174522bb673572f121..
index ..b9f0bdcdbba57cebd9ee828e9905bd929aba90a3 100644
--- a/src/ngircd/irc-channel.c
+++ b/src/ngircd/irc-channel.c
@@ -176,7 +176,7 @@ join_set_channelmodes(CHANNEL *chan, CLIENT *target, const char *flags)
  * and MODE commands.
  *
  * @param To		Forward JOIN (and MODE) command to this peer server
- * @param Prefix	Client used to prefix the genrated commands
+ * @param Prefix	Client used to prefix the generated commands
  * @param Data		Parameters of JOIN command to forward, probably
  *			containing channel modes separated by ASCII 7.
  */
@@ -209,7 +209,7 @@ cb_join_forward(CLIENT *To, CLIENT *Prefix, void *Data)
  * This function calls cb_join_forward(), which differentiates between
  * protocol implementations (e.g. RFC 2812, RFC 1459).
  *
- * @param Client	Client used to prefix the genrated commands
+ * @param Client	Client used to prefix the generated commands
  * @param target	Forward JOIN (and MODE) command to this peer server
  * @param chan		Channel structure
  * @param channame	Channel name
@@ -250,7 +250,7 @@ join_forward(CLIENT *Client, CLIENT *target, CHANNEL *chan,
 /**
  * Acknowledge user JOIN request and send "channel info" numerics.
  *
- * @param Client	Client used to prefix the genrated commands
+ * @param Client	Client used to prefix the generated commands
  * @param target	Forward commands/numerics to this user
  * @param chan		Channel structure
  * @param channame	Channel name
diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c
index ae333b1018d1156f74414ee6c41ae7971ec32b10..
index ..df8e22699bf1ee06d95f370e8e7c39a8206830c0 100644
--- a/src/ngircd/irc-oper.c
+++ b/src/ngircd/irc-oper.c
@@ -399,7 +399,7 @@ IRC_xLINE(CLIENT *Client, REQUEST *Req)
 					  Client_ID(Client), Req->command);

 	if (!Conf_AllowRemoteOper && Client_Type(Client) == CLIENT_SERVER) {
-		/* Explicitely forbid remote servers to modify "x-lines" when
+		/* Explicitly forbid remote servers to modify "x-lines" when
 		 * the "AllowRemoteOper" configuration option isn't set, even
 		 * when the command seems to originate from the remote server
 		 * itself: this prevents GLINE's to become set during server
diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c
index 3113a4ba8fe22f3933f339b46b12a60f1d9736cf..
index ..ba33e5ae334d03786281e4599f31529330f2c295 100644
--- a/src/ngircd/irc.c
+++ b/src/ngircd/irc.c
@@ -514,7 +514,7 @@ Option_String(UNUSED CONN_ID Idx)
 /**
  * Send a message to target(s).
  *
- * This function is used by IRC_{PRIVMSG|NOTICE|SQUERY} to actualy
+ * This function is used by IRC_{PRIVMSG|NOTICE|SQUERY} to actually
  * send the message(s).
  *
  * @param Client The client from which this command has been received.
diff --git a/src/ngircd/login.c b/src/ngircd/login.c
index ba9378f824e333b1576bb7837094acf221d6b26e..
index ..38b9a3532d3dda01baeb3671d95e02377b22b1f8 100644
--- a/src/ngircd/login.c
+++ b/src/ngircd/login.c
@@ -248,7 +248,7 @@ cb_Read_Auth_Result(int r_fd, UNUSED short events)

 	if (result == true) {
 		/* Authentication succeeded, now set the correct user name
-		 * supplied by the client (without prepended '~' for exmaple),
+		 * supplied by the client (without prepended '~' for example),
 		 * but cut it at the first '@' character: */
 		strlcpy(user, Client_OrigUser(client), sizeof(user));
 		ptr = strchr(user, '@');
diff --git a/src/ngircd/parse.h b/src/ngircd/parse.h
index 859c7ce575692ee4b69ff032face09f96269ba3e..
index ..48260c67017388cc499032f863dcc626e43104be 100644
--- a/src/ngircd/parse.h
+++ b/src/ngircd/parse.h
@@ -25,7 +25,7 @@ typedef struct _REQUEST
 	char *prefix;			/**< Prefix */
 	char *command;			/**< IRC command */
 	char *argv[15];			/**< Parameters, at most 15 (0..14) */
-	int argc;			/**< Number of given paramaters */
+	int argc;			/**< Number of given parameters */
 } REQUEST;

 /** IRC command handling structure */
diff --git a/src/portab/vsnprintf.c b/src/portab/vsnprintf.c
index 4c65db1febd5c30008f421a0a6d1e45b28f8e11c..
index ..d3b2a888fc9d185734ea2180f8455cb98e5bb07a 100644
--- a/src/portab/vsnprintf.c
+++ b/src/portab/vsnprintf.c
@@ -45,7 +45,7 @@
  *  probably requires libm on most operating systems. Don't yet
  *  support the exponent (e,E) and sigfig (g,G). Also, fmtint()
  *  was pretty badly broken, it just wasn't being exercised in ways
- *  which showed it, so that's been fixed. Also, formated the code
+ *  which showed it, so that's been fixed. Also, formatted the code
  *  to mutt conventions, and removed dead code left over from the
  *  original. Also, there is now a builtin-test, just compile with:
  *    gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
diff --git a/src/testsuite/README b/src/testsuite/README
index 4ff5ea9f937cf2d5df049e5c1cb1e994580f7c2a..
index ..33855fb094afa4cfdeef7e3081e29cda8cf4afff 100644
--- a/src/testsuite/README
+++ b/src/testsuite/README
@@ -71,7 +71,7 @@ tests.sh
 test-loop.sh [ []]

 	This script runs all the tests  times (default: 5) and pauses
-	 seconds (default: 5) betweed runs.
+	 seconds (default: 5) between runs.
 	It isn't used by "make check" or "make testsuite".

 wait-tests.sh []

-----END OF PAGE-----