Global spelling fix s/recieve/receive/ across codebase

This includes some user-visible messages and help files, so if anyone has
hooked them with /ON WINDOW their hooks will need updating.
This commit is contained in:
Kevin Easton
2015-10-04 09:06:38 +11:00
parent 726884b0b0
commit ce3fd79652
24 changed files with 41 additions and 39 deletions

View File

@@ -665,7 +665,7 @@ BUILT_IN_COMMAND(dumpcmd)
* string "void", then the balance of the remaining alias arguments are
* discarded and $* will expand to the false value. If neither "..." nor
* "void" are provided in the argument list, then that last variable in the
* list will recieve all of the remaining arguments left at its position.
* list will receive all of the remaining arguments left at its position.
*
* Examples:
*

View File

@@ -1014,7 +1014,7 @@ const char *my_host;
/*
* If we recieve a CTCP DCC REJECT in a notice, then we want to remove
* If we receive a CTCP DCC REJECT in a notice, then we want to remove
* the offending DCC request
*/
CTCP_HANDLER(do_dcc_reply)

View File

@@ -1223,7 +1223,7 @@ UserList *ul = NULL;
#endif
else
{
put_it("%s", convert_output_format("$G %RDCC%n Unknown DCC $0 ($1) recieved from $2", "%s %s %s", type, description, nick));
put_it("%s", convert_output_format("$G %RDCC%n Unknown DCC $0 ($1) received from $2", "%s %s %s", type, description, nick));
reset_display_target();
return;
}
@@ -1235,7 +1235,7 @@ UserList *ul = NULL;
if ((s->flags & DCC_ACTIVE))
{
/* collision. */
put_it("%s", convert_output_format("$G %RDCC%n Recieved DCC $0 request from $1 while previous session active", "%s %s", type, nick));
put_it("%s", convert_output_format("$G %RDCC%n Received DCC $0 request from $1 while previous session active", "%s %s", type, nick));
reset_display_target();
return;
}
@@ -2902,7 +2902,7 @@ DCC_int *n;
}
}
/* Looks for the dcc transfer that is "current" (last recieved data)
/* Looks for the dcc transfer that is "current" (last received data)
* and returns information for it
*/
extern char *DCC_get_current_transfer (void)
@@ -3040,7 +3040,7 @@ int dcc_exempt_save(FILE *fptr)
*/
static void output_reject_ctcp (UserhostItem *stuff, char *nick, char *args)
{
char *nickname_recieved;
char *nickname_received;
char *type;
char *description;
@@ -3052,10 +3052,10 @@ static void output_reject_ctcp (UserhostItem *stuff, char *nick, char *args)
next_arg(args, &args);
type = next_arg(args, &args);
description = next_arg(args, &args);
nickname_recieved = stuff->nick;
nickname_received = stuff->nick;
if (nickname_recieved && *nickname_recieved)
send_ctcp(CTCP_NOTICE, nickname_recieved, CTCP_DCC,
if (nickname_received && *nickname_received)
send_ctcp(CTCP_NOTICE, nickname_received, CTCP_DCC,
"REJECT %s %s", type, description);
}

View File

@@ -892,7 +892,7 @@ static void handle_filedesc (Process *proc, int *fd, int hook_nonl, int hook_nl
* has exited, or the client has attempted to fork() off a helper process
* (such as wserv or gzip) and that process has choked on itself.
*
* When SIGCHLD is recieved, the global variable 'dead_children_processes'
* When SIGCHLD is received, the global variable 'dead_children_processes'
* is incremented. When this function is called, we go through and call
* waitpid() on all of the outstanding zombies, conditionally stopping when
* we reach a specific wanted sub-process.
@@ -1076,7 +1076,7 @@ void add_process_wait (int proc_index, const char *cmd)
* the client. Either stage may happen first, but until both are completed
* we keep the process around.
*
* 1) We must recieve an EOF on both stdin and stderr, or we must
* 1) We must receive an EOF on both stdin and stderr, or we must
* have closed stdin and stderr already (handled by do_processes)
* 2) The process must have died (handled by get_child_exit)
*
@@ -1308,7 +1308,7 @@ void kill_process (int kill_index, int sig)
* condition (such as a swap in). You do not know when the process will
* actually die. It could be 15 ns, it could be 15 minutes, it could be
* 15 years. Its also useful to note that we, as the parent process, will not
* recieve the SIGCHLD signal until after the child dies. That means it is
* receive the SIGCHLD signal until after the child dies. That means it is
* pointless to try to reap any children processes here. The main io()
* loop handles reaping children (by calling get_child_exit()).
*/

View File

@@ -1600,7 +1600,7 @@ BUILT_IN_FUNCTION(function_rmatch, input)
/*
* Usage: $userhost()
* Returns: the userhost (if any) of the most previously recieved message.
* Returns: the userhost (if any) of the most previously received message.
* Caveat: $userhost() changes with every single line that appears on
* your screen, so if you want to save it, you will need to assign
* it to a variable.

View File

@@ -785,7 +785,7 @@ extern char *BX_one_to_another (const char *what)
/*
* It is possible for a race condition to exist; such that select()
* indicates that a listen()ing socket is able to recieve a new connection
* indicates that a listen()ing socket is able to receive a new connection
* and that a later accept() call will still block because the connection
* has been closed in the interim. This wrapper for accept() attempts to
* defeat this by making the accept() call nonblocking.

View File

@@ -738,7 +738,7 @@ void parse_notice(char *from, char **Args)
return;
if (!*to)
{
put_it("*** obsolete notice recieved. [%s]", line+1);
put_it("*** obsolete notice received. [%s]", line+1);
return;
}

View File

@@ -127,7 +127,7 @@ register BanList *eban = NULL;
void fake (void)
{
bitchsay("--- Fake Message recieved!!! ---");
bitchsay("--- Fake Message received!!! ---");
return;
}

View File

@@ -620,7 +620,7 @@ void do_server (fd_set *rd, fd_set *wr)
/* server_lag_reply()
*
* Called when a reply to a lag check ping has been recieved.
* Called when a reply to a lag check ping has been received.
*/
void server_lag_reply(int s, unsigned long cookie, struct timeval lag_recv, struct timeval lag_sent)
{

View File

@@ -438,7 +438,7 @@ do
if (!new_w)
break;
/*
* We have recieved a reply to this query -- its too late to
* We have received a reply to this query -- its too late to
* piggyback it now!
*/
new_w->dirty = 1;

View File

@@ -3752,7 +3752,7 @@ Window *window_query (Window *window, char **args, char *usage)
else if (!strcmp(nick, ","))
{
if (!(nick = get_server_recv_nick(window->server)))
say("You have not recieved a message yet");
say("You have not received a message yet");
}
else if (!strcmp(nick, "*") &&
!(nick = get_current_channel_by_refnum(0)))