mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-23 05:46:51 +00:00
Spelling fixes, mostly in file comments
This commit is contained in:
parent
7b30c352a1
commit
56ed5c90ad
@ -43,7 +43,7 @@ ngircd.spec
|
|||||||
- RPM "spec" file.
|
- RPM "spec" file.
|
||||||
|
|
||||||
nglog.sh
|
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
|
platformtest.sh
|
||||||
- Build ngIRCd and output a "result line" suitable for doc/Platforms.txt.
|
- Build ngIRCd and output a "result line" suitable for doc/Platforms.txt.
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# Please read the file COPYING, README and AUTHORS for more information.
|
# Please read the file COPYING, README and AUTHORS for more information.
|
||||||
#
|
#
|
||||||
# This script parses the log output of ngircd(8), and colorizes the messages
|
# 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
|
# ./src/ngircd/ngircd -f $PWD/doc/sample-ngircd.conf -np | ./contrib/nglog.sh
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ GLOBAL bool Conf_ConnectIPv6;
|
|||||||
/** Try to connect to remote systems using the IPv4 protocol (true) */
|
/** Try to connect to remote systems using the IPv4 protocol (true) */
|
||||||
GLOBAL bool Conf_ConnectIPv4;
|
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;
|
GLOBAL int Conf_IdleTimeout;
|
||||||
|
|
||||||
/** Maximum number of simultaneous connections to this server */
|
/** Maximum number of simultaneous connections to this server */
|
||||||
|
@ -1454,7 +1454,7 @@ New_Connection(int Sock, UNUSED bool IsSSL)
|
|||||||
Account_Connection();
|
Account_Connection();
|
||||||
|
|
||||||
#ifdef SSL_SUPPORT
|
#ifdef SSL_SUPPORT
|
||||||
/* Delay connection initalization until SSL handshake is finished */
|
/* Delay connection initialization until SSL handshake is finished */
|
||||||
if (!IsSSL)
|
if (!IsSSL)
|
||||||
#endif
|
#endif
|
||||||
Conn_StartLogin(new_sock);
|
Conn_StartLogin(new_sock);
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
/** Max. host name length (including NULL). */
|
/** Max. host name length (including NULL). */
|
||||||
#define CLIENT_HOST_LEN 64
|
#define CLIENT_HOST_LEN 64
|
||||||
|
|
||||||
/** Max. mask lenght (including NULL). */
|
/** Max. mask length (including NULL). */
|
||||||
#define MASK_LEN (2 * CLIENT_HOST_LEN)
|
#define MASK_LEN (2 * CLIENT_HOST_LEN)
|
||||||
|
|
||||||
/** Max. length of all client modes (including NULL). */
|
/** Max. length of all client modes (including NULL). */
|
||||||
|
@ -176,7 +176,7 @@ join_set_channelmodes(CHANNEL *chan, CLIENT *target, const char *flags)
|
|||||||
* and MODE commands.
|
* and MODE commands.
|
||||||
*
|
*
|
||||||
* @param To Forward JOIN (and MODE) command to this peer server
|
* @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
|
* @param Data Parameters of JOIN command to forward, probably
|
||||||
* containing channel modes separated by ASCII 7.
|
* 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
|
* This function calls cb_join_forward(), which differentiates between
|
||||||
* protocol implementations (e.g. RFC 2812, RFC 1459).
|
* 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 target Forward JOIN (and MODE) command to this peer server
|
||||||
* @param chan Channel structure
|
* @param chan Channel structure
|
||||||
* @param channame Channel name
|
* @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.
|
* 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 target Forward commands/numerics to this user
|
||||||
* @param chan Channel structure
|
* @param chan Channel structure
|
||||||
* @param channame Channel name
|
* @param channame Channel name
|
||||||
|
@ -399,7 +399,7 @@ IRC_xLINE(CLIENT *Client, REQUEST *Req)
|
|||||||
Client_ID(Client), Req->command);
|
Client_ID(Client), Req->command);
|
||||||
|
|
||||||
if (!Conf_AllowRemoteOper && Client_Type(Client) == CLIENT_SERVER) {
|
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
|
* the "AllowRemoteOper" configuration option isn't set, even
|
||||||
* when the command seems to originate from the remote server
|
* when the command seems to originate from the remote server
|
||||||
* itself: this prevents GLINE's to become set during server
|
* itself: this prevents GLINE's to become set during server
|
||||||
|
@ -514,7 +514,7 @@ Option_String(UNUSED CONN_ID Idx)
|
|||||||
/**
|
/**
|
||||||
* Send a message to target(s).
|
* 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).
|
* send the message(s).
|
||||||
*
|
*
|
||||||
* @param Client The client from which this command has been received.
|
* @param Client The client from which this command has been received.
|
||||||
|
@ -248,7 +248,7 @@ cb_Read_Auth_Result(int r_fd, UNUSED short events)
|
|||||||
|
|
||||||
if (result == true) {
|
if (result == true) {
|
||||||
/* Authentication succeeded, now set the correct user name
|
/* 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: */
|
* but cut it at the first '@' character: */
|
||||||
strlcpy(user, Client_OrigUser(client), sizeof(user));
|
strlcpy(user, Client_OrigUser(client), sizeof(user));
|
||||||
ptr = strchr(user, '@');
|
ptr = strchr(user, '@');
|
||||||
|
@ -25,7 +25,7 @@ typedef struct _REQUEST
|
|||||||
char *prefix; /**< Prefix */
|
char *prefix; /**< Prefix */
|
||||||
char *command; /**< IRC command */
|
char *command; /**< IRC command */
|
||||||
char *argv[15]; /**< Parameters, at most 15 (0..14) */
|
char *argv[15]; /**< Parameters, at most 15 (0..14) */
|
||||||
int argc; /**< Number of given paramaters */
|
int argc; /**< Number of given parameters */
|
||||||
} REQUEST;
|
} REQUEST;
|
||||||
|
|
||||||
/** IRC command handling structure */
|
/** IRC command handling structure */
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
* probably requires libm on most operating systems. Don't yet
|
* probably requires libm on most operating systems. Don't yet
|
||||||
* support the exponent (e,E) and sigfig (g,G). Also, fmtint()
|
* support the exponent (e,E) and sigfig (g,G). Also, fmtint()
|
||||||
* was pretty badly broken, it just wasn't being exercised in ways
|
* 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
|
* to mutt conventions, and removed dead code left over from the
|
||||||
* original. Also, there is now a builtin-test, just compile with:
|
* original. Also, there is now a builtin-test, just compile with:
|
||||||
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
|
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
|
||||||
|
@ -71,7 +71,7 @@ tests.sh
|
|||||||
test-loop.sh [<loops> [<wait>]]
|
test-loop.sh [<loops> [<wait>]]
|
||||||
|
|
||||||
This script runs all the tests <loops> times (default: 5) and pauses
|
This script runs all the tests <loops> times (default: 5) and pauses
|
||||||
<wait> seconds (default: 5) betweed runs.
|
<wait> seconds (default: 5) between runs.
|
||||||
It isn't used by "make check" or "make testsuite".
|
It isn't used by "make check" or "make testsuite".
|
||||||
|
|
||||||
wait-tests.sh [<max>]
|
wait-tests.sh [<max>]
|
||||||
|
Loading…
Reference in New Issue
Block a user