about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2011-12-30 00:50:27 +0100
committerAlexander Barton <alex@barton.de>2011-12-30 00:50:27 +0100
commite19ce437cadca5697a052ade944118a42709eabd (patch)
tree85e9c7d52fc96b44029deb3b35dcea29a6a328b2 /src
parent4e550bf9ef9d8c05a753f27c6deec8ada0fb0ce9 (diff)
downloadngircd-e19ce437cadca5697a052ade944118a42709eabd.tar.gz
ngircd-e19ce437cadca5697a052ade944118a42709eabd.zip
Fixed some spelling errors in documentation and code comments
Thanks to Christoph Biedl!
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/array.h2
-rw-r--r--src/ngircd/client.c4
-rw-r--r--src/ngircd/conf.h2
-rw-r--r--src/ngircd/conn.c4
-rw-r--r--src/ngircd/irc-channel.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/ngircd/array.h b/src/ngircd/array.h
index f4611628..fd428dbb 100644
--- a/src/ngircd/array.h
+++ b/src/ngircd/array.h
@@ -84,7 +84,7 @@ extern void* array_get PARAMS((array* a, size_t membersize, size_t pos));
 /* free the contents of this array. */
 extern void array_free PARAMS((array* a));
 
-/* overwrite array with zeroes before free */
+/* overwrite array with zeros before free */
 extern void array_free_wipe PARAMS((array* a));
 
 /* return pointer to first element in this array */
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index 16c551f9..d1f751d4 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -768,7 +768,7 @@ Client_NextHop( CLIENT *Client )
  * Return ID of a client: "client!user@host"
  * This client ID is used for IRC prefixes, for example.
  * Please note that this function uses a global static buffer, so you can't
- * nest invocations without overwriting erlier results!
+ * nest invocations without overwriting earlier results!
  * @param Client Pointer to client structure
  * @return Pointer to global buffer containing the client ID
  */
@@ -793,7 +793,7 @@ Client_Mask( CLIENT *Client )
  * Return ID of a client with cloaked hostname: "client!user@server-name"
  * This client ID is used for IRC prefixes, for example.
  * Please note that this function uses a global static buffer, so you can't
- * nest invocations without overwriting erlier results!
+ * nest invocations without overwriting earlier results!
  * If the client has not enabled cloaking, the real hostname is used.
  * @param Client Pointer to client structure
  * @return Pointer to global buffer containing the client ID
diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h
index afc0afaa..5a6fff87 100644
--- a/src/ngircd/conf.h
+++ b/src/ngircd/conf.h
@@ -154,7 +154,7 @@ GLOBAL bool Conf_OperCanMode;
 /**
  * If true, mask channel MODE commands of IRC operators to the server.
  * Background: ircd2 will ignore channel MODE commands if an IRC operator
- * gives chanel operator privileges to someone without being a channel operator
+ * gives channel operator privileges to someone without being a channel operator
  * himself. This enables a workaround: it masks the MODE command as coming
  * from the IRC server and not the IRC operator.
  */
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 4a2f49c1..d9d73e84 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -370,7 +370,7 @@ cb_clientserver_ssl(int sock, short what)
 
 
 /**
- * Initialite connecion module.
+ * Initialize connecion module.
  */
 GLOBAL void
 Conn_Init( void )
@@ -1014,7 +1014,7 @@ Conn_Write( CONN_ID Idx, char *Data, size_t Len )
 GLOBAL void
 Conn_Close( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient )
 {
-	/* Close connection. Open pipes of asyncronous resolver
+	/* Close connection. Open pipes of asynchronous resolver
 	 * sub-processes are closed down. */
 
 	CLIENT *c;
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 233e1731..cc70eb47 100644
--- a/src/ngircd/irc-channel.c
+++ b/src/ngircd/irc-channel.c
@@ -244,7 +244,7 @@ join_forward(CLIENT *Client, CLIENT *target, CHANNEL *chan,
 	IRC_WriteStrChannelPrefix(Client, chan, target, false,
 				  "JOIN :%s",  channame);
 
-	/* syncronize channel modes */
+	/* synchronize channel modes */
 	if (modes[1]) {
 		IRC_WriteStrChannelPrefix(Client, chan, target, false,
 					  "MODE %s +%s %s", channame,