summaryrefslogtreecommitdiffstats
path: root/modules/core
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2016-08-11 21:50:02 +0200
committerRainer Jung <rjung@apache.org>2016-08-11 21:50:02 +0200
commitd79b514c4b925e4cd983297c784124efb8f6efc7 (patch)
tree5de52fcca8b9fd2d3026267781ec3a4ba55d1d7e /modules/core
parentgrammar++ (diff)
downloadapache2-d79b514c4b925e4cd983297c784124efb8f6efc7.tar.xz
apache2-d79b514c4b925e4cd983297c784124efb8f6efc7.zip
Fix spelling in comments and text files.
No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/mod_macro.c6
-rw-r--r--modules/core/mod_so.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/core/mod_macro.c b/modules/core/mod_macro.c
index 4cd1d41256..dae4fcd297 100644
--- a/modules/core/mod_macro.c
+++ b/modules/core/mod_macro.c
@@ -377,7 +377,7 @@ static char *substitute(char *buf,
}
/*
- find first occurence of args in buf.
+ find first occurrence of args in buf.
in case of conflict, the LONGEST argument is kept. (could be the FIRST?).
returns the pointer and the whichone found, or NULL.
*/
@@ -464,7 +464,7 @@ static const char *process_content(apr_pool_t * pool,
/* for each line of the macro body */
for (i = 0; i < contents->nelts; i++) {
const char *errmsg;
- /* copy the line and subtitute macro parameters */
+ /* copy the line and substitute macro parameters */
strncpy(line, ((char **) contents->elts)[i], MAX_STRING_LEN - 1);
errmsg = substitute_macro_args(line, MAX_STRING_LEN,
macro, replacements, used);
@@ -916,7 +916,7 @@ static int macro_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
/*
macro module commands.
configuration file macro stuff
- they are processed immediatly when found, hence the EXEC_ON_READ.
+ they are processed immediately when found, hence the EXEC_ON_READ.
*/
static const command_rec macro_cmds[] = {
AP_INIT_RAW_ARGS(BEGIN_MACRO, macro_section, NULL, EXEC_ON_READ | OR_ALL,
diff --git a/modules/core/mod_so.c b/modules/core/mod_so.c
index eeacec6741..6eafbe9aea 100644
--- a/modules/core/mod_so.c
+++ b/modules/core/mod_so.c
@@ -193,7 +193,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
const char *error;
/* we need to setup this value for dummy to make sure that we don't try
- * to add a non-existant tree into the build when we return to
+ * to add a non-existent tree into the build when we return to
* execute_now.
*/
*(ap_directive_t **)dummy = NULL;
@@ -321,7 +321,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
/*
* This implements the LoadFile directive and loads an arbitrary
- * shared object file into the adress space of the server process.
+ * shared object file into the address space of the server process.
*/
static const char *load_file(cmd_parms *cmd, void *dummy, const char *filename)