Skip to content

Commit

Permalink
Fix spelling in comments and text files.
Browse files Browse the repository at this point in the history
No functional change.
PR 59990


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Rainer Jung committed Aug 11, 2016
1 parent 32ec4a2 commit f6b43bb
Show file tree
Hide file tree
Showing 70 changed files with 108 additions and 108 deletions.
4 changes: 2 additions & 2 deletions include/http_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ enum cmd_how {
RAW_ARGS, /**< cmd_func parses command line itself */
TAKE1, /**< one argument only */
TAKE2, /**< two arguments only */
ITERATE, /**< one argument, occuring multiple times
ITERATE, /**< one argument, occurring multiple times
* (e.g., IndexIgnore)
*/
ITERATE2, /**< two arguments, 2nd occurs multiple times
Expand Down Expand Up @@ -834,7 +834,7 @@ AP_DECLARE(apr_status_t) ap_cfg_getc(char *ch, ap_configfile_t *cfp);
/**
* Detach from open ap_configfile_t, calling the close handler
* @param cfp The file to close
* @return 1 on sucess, 0 on failure
* @return 1 on success, 0 on failure
*/
AP_DECLARE(int) ap_cfg_closefile(ap_configfile_t *cfp);

Expand Down
2 changes: 1 addition & 1 deletion include/http_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ extern "C" {
* Constant to store module_index for the current file.
* Objects with static storage duration are set to NULL if not
* initialized explicitly. This means that if aplog_module_index
* is not initalized using the ::APLOG_USE_MODULE or the
* is not initialized using the ::APLOG_USE_MODULE or the
* ::AP_DECLARE_MODULE macro, we can safely fall back to
* use ::APLOG_NO_MODULE. This variable will usually be optimized away.
*/
Expand Down
2 changes: 1 addition & 1 deletion include/http_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ AP_DECLARE(void) ap_clear_auth_internal(void);
* Determine whether access control hooks will be run for all internal
* requests with URIs distinct from that of the initial request, or only
* those for which different configurations apply than those which applied
* to the initial request. To accomodate legacy external modules which
* to the initial request. To accommodate legacy external modules which
* may expect access control hooks to be run for all internal requests
* with distinct URIs, this is the default behaviour unless all access
* control hooks and authentication and authorization providers are
Expand Down
4 changes: 2 additions & 2 deletions include/httpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ extern "C" {

/**
* APR_HAS_LARGE_FILES introduces the problem of spliting sendfile into
* mutiple buckets, no greater than MAX(apr_size_t), and more granular
* multiple buckets, no greater than MAX(apr_size_t), and more granular
* than that in case the brigade code/filters attempt to read it directly.
* ### 16mb is an invention, no idea if it is reasonable.
*/
Expand Down Expand Up @@ -355,7 +355,7 @@ extern "C" {
* use by modules. The difference between #AP_DECLARE and
* #AP_DECLARE_NONSTD is that the latter is required for any functions
* which use varargs or are used via indirect function call. This
* is to accomodate the two calling conventions in windows dlls.
* is to accommodate the two calling conventions in windows dlls.
*/
# define AP_DECLARE_NONSTD(type) type
#endif
Expand Down
2 changes: 1 addition & 1 deletion include/util_ldap.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ APR_DECLARE_OPTIONAL_FN(util_ldap_connection_t *,uldap_connection_find,(request_
* @param dn The first DN to compare.
* @param reqdn The DN to compare the first DN to.
* @param compare_dn_on_server Flag to determine whether the DNs should be checked using
* LDAP calls or with a direct string comparision. A direct
* LDAP calls or with a direct string comparison. A direct
* string comparison is faster, but not as accurate - false
* negative comparisons are possible.
* @tip Two DNs can be equal and still fail a string comparison. Eg "dc=example,dc=com"
Expand Down
2 changes: 1 addition & 1 deletion modules/NWGNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif
endif
endif

# If USE_STDSOCKETS is defined we allways build mod_ssl
# If USE_STDSOCKETS is defined we always build mod_ssl
ifdef USE_STDSOCKETS
WITH_SSL = 1
endif
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_allowmethods.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* This module makes it easy to restrict what HTTP methods can be ran against
* a server.
*
* It provides one comand:
* It provides one command:
* AllowMethods
* This command takes a list of HTTP methods to allow.
*
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_auth_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static int authenticate_basic_user(request_rec *r)

apr_table_unset(r->notes, AUTHN_PROVIDER_NAME_NOTE);

/* Something occured. Stop checking. */
/* Something occurred. Stop checking. */
if (auth_result != AUTH_USER_NOT_FOUND) {
break;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_auth_digest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ static authn_status get_hash(request_rec *r, const char *user,

apr_table_unset(r->notes, AUTHN_PROVIDER_NAME_NOTE);

/* Something occured. Stop checking. */
/* Something occurred. Stop checking. */
if (auth_result != AUTH_USER_NOT_FOUND) {
break;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_auth_form.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ static int check_authn(request_rec * r, const char *sent_user, const char *sent_

apr_table_unset(r->notes, AUTHN_PROVIDER_NAME_NOTE);

/* Something occured. Stop checking. */
/* Something occurred. Stop checking. */
if (auth_result != AUTH_USER_NOT_FOUND) {
break;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_authz_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ static const char *all_parse_config(cmd_parms *cmd, const char *require_line,
/*
* If the argument to the 'all' provider is 'granted' then just let
* everybody in. This would be equivalent to the previous syntax of
* 'allow from all'. If the argument is 'denied' we reject everbody,
* 'allow from all'. If the argument is 'denied' we reject everybody,
* which is equivalent to 'deny from all'.
*/
if (strcasecmp(require_line, "granted") == 0) {
Expand Down
2 changes: 1 addition & 1 deletion modules/aaa/mod_authz_groupfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* AuthGroupFile standard /path/to/file
*
* and the presense of a
* and the presence of a
*
* require group <list-of-groups>
*
Expand Down
2 changes: 1 addition & 1 deletion modules/arch/netware/mod_nw_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ static int nwssl_post_config(apr_pool_t *pconf, apr_pool_t *plog,

for (sl = ap_seclisteners; sl != NULL; sl = sl->next) {
/* If we find a pre-existing listen socket and it has already been
created, then no neeed to go any further, just reuse it. */
created, then no need to go any further, just reuse it. */
if (((sl->fd = find_secure_listener(sl)) >= 0) && (sl->used)) {
continue;
}
Expand Down
6 changes: 3 additions & 3 deletions modules/arch/win32/mod_isapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* It is a complete implementation of the ISAPI 2.0 specification,
* except for "Microsoft extensions" to the API which provide
* asynchronous I/O. It is further extended to include additional
* "Microsoft extentions" through IIS 5.0, with some deficiencies
* "Microsoft extensions" through IIS 5.0, with some deficiencies
* where one-to-one mappings don't exist.
*
* Refer to /manual/mod/mod_isapi.html for additional details on
Expand Down Expand Up @@ -152,7 +152,7 @@ static const char *isapi_cmd_cachefile(cmd_parms *cmd, void *dummy,
return NULL;
}

/* Load the extention as cached (with null request_rec) */
/* Load the extension as cached (with null request_rec) */
rv = isapi_lookup(cmd->pool, cmd->server, NULL, fspec, &isa);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_WARNING, rv, cmd->server, APLOGNO(02106)
Expand Down Expand Up @@ -753,7 +753,7 @@ static apr_ssize_t send_response_header(isapi_cid *cid,
/* Well... either there is no dwHttpStatusCode or it's HTTP_OK.
* In any case, we don't have a good status to return yet...
* Perhaps the one we came in with will be better. Let's use it,
* if we were given one (note this is a pendantic case, it would
* if we were given one (note this is a pedantic case, it would
* normally be covered above unless the scan script code unset
* the r->status). Should there be a check here as to whether
* we are setting a valid response code?
Expand Down
2 changes: 1 addition & 1 deletion modules/arch/win32/mod_isapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ typedef struct HSE_SEND_HEADER_EX_INFO {
#define HSE_IO_NODELAY 4096

/* The Completion function prototype. This callback may be fixed with
* the HSE_REQ_IO_COMPLETION ServerSupportFunction call, or overriden
* the HSE_REQ_IO_COMPLETION ServerSupportFunction call, or overridden
* for the HSE_REQ_TRANSMIT_FILE call.
*/
typedef void (APR_THREAD_FUNC *PFN_HSE_IO_COMPLETION)
Expand Down
2 changes: 1 addition & 1 deletion modules/cache/mod_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)

/* It's safe to cache the response.
*
* There are two possiblities at this point:
* There are two possibilities at this point:
* - cache->handle == NULL. In this case there is no previously
* cached entity anywhere on the system. We must create a brand
* new entity and store the response in it.
Expand Down
2 changes: 1 addition & 1 deletion modules/cluster/README.heartbeat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Consuming:
Every 1 second, this module generates a single multicast UDP packet,
containing the number of busy and idle workers.

The packet is a simple ASCII format, similiar to GET query parameters in UDP.
The packet is a simple ASCII format, similar to GET query parameters in UDP.

An Example packet:
v=1&ready=75&busy=0
Expand Down
6 changes: 3 additions & 3 deletions modules/core/mod_macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions modules/core/mod_so.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions modules/dav/main/mod_dav.h
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ typedef struct dav_locktoken dav_locktoken;
** the sub-pools are a bit more general and heavyweight than these buffers.
*/

/* buffer for reuse; can grow to accomodate needed size */
/* buffer for reuse; can grow to accommodate needed size */
typedef struct
{
apr_size_t alloc_len; /* how much has been allocated */
Expand All @@ -465,7 +465,7 @@ DAV_DECLARE(void) dav_set_bufsize(apr_pool_t *p, dav_buffer *pbuf,
DAV_DECLARE(void) dav_buffer_init(apr_pool_t *p, dav_buffer *pbuf,
const char *str);

/* check that the buffer can accomodate <extra_needed> more bytes */
/* check that the buffer can accommodate <extra_needed> more bytes */
DAV_DECLARE(void) dav_check_bufsize(apr_pool_t *p, dav_buffer *pbuf,
apr_size_t extra_needed);

Expand Down Expand Up @@ -931,7 +931,7 @@ struct dav_hooks_liveprop
**
** This structure is used as a standard way to determine if a particular
** property is a live property. Its use is not part of the mandated liveprop
** interface, but can be used by liveprop providers in conjuction with the
** interface, but can be used by liveprop providers in conjunction with the
** utility routines below.
**
** spec->name == NULL is the defined end-sentinel for a list of specs.
Expand Down Expand Up @@ -2378,7 +2378,7 @@ struct dav_hooks_vsn
** exist. Any <DAV:mkworkspace> element is passed to the provider
** in the "doc" structure; it may be empty.
**
** If workspace creation is succesful, the state of the resource
** If workspace creation is successful, the state of the resource
** object is updated appropriately.
**
** This hook is optional; if the provider does not support workspaces,
Expand All @@ -2401,7 +2401,7 @@ struct dav_hooks_vsn
** Create an activity resource. The resource must not already
** exist.
**
** If activity creation is succesful, the state of the resource
** If activity creation is successful, the state of the resource
** object is updated appropriately.
**
** This hook is optional; if the provider does not support activities,
Expand Down
4 changes: 2 additions & 2 deletions modules/dav/main/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ DAV_DECLARE(void) dav_xmlns_add(dav_xmlns_info *xi,
apr_hash_set(xi->prefix_uri, prefix, APR_HASH_KEY_STRING, uri);

/* note: this may overwrite an existing URI->prefix mapping, but it
doesn't matter -- any prefix is usuable to specify the URI. */
doesn't matter -- any prefix is usable to specify the URI. */
apr_hash_set(xi->uri_prefix, uri, APR_HASH_KEY_STRING, prefix);
}

Expand Down Expand Up @@ -587,7 +587,7 @@ static dav_error * dav_add_if_state(apr_pool_t *p, dav_if_header *ih,
}

/* fetch_next_token returns the substring from str+1
* to the next occurence of char term, or \0, whichever
* to the next occurrence of char term, or \0, whichever
* occurs first. Leading whitespace is ignored.
*/
static char *dav_fetch_next_token(char **str, char term)
Expand Down
2 changes: 1 addition & 1 deletion modules/examples/README
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ For windows, the process is slightly different;

A. copy modules\examples\mod_example_hooks.c modules\examples\mod_myexample.c
B. copy modules\examples\mod_example_hooks.dsp modules\examples\mod_myexample.dsp
C. replace the occurances of 'example_hooks' with your module name.
C. replace the occurrences of 'example_hooks' with your module name.
D. add the new .dsp to your Apache.dsw workspace, with dependencies
on the libapr, libaprutil and libhttpd projects. With the newer
Developer Studio 2002 through 2005, when you add the new .dsp
Expand Down
2 changes: 1 addition & 1 deletion modules/http/http_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static const char *set_keep_alive_timeout(cmd_parms *cmd, void *dummy,
* set for the main server, because if no http_module directive is used
* for a vhost, it will inherit the http_srv_cfg from the main server.
* However keep_alive_timeout_set helps determine whether the vhost should
* use its own configured timeout or the one from the vhost delared first
* use its own configured timeout or the one from the vhost declared first
* on the same IP:port (ie. c->base_server, and the legacy behaviour).
*/
if (cmd->server->is_virtual) {
Expand Down
2 changes: 1 addition & 1 deletion modules/http/http_filters.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f,
}

/*
* Control cachability for non-cachable responses if not already set by
* Control cachability for non-cacheable responses if not already set by
* some other part of the server configuration.
*/
if (r->no_cache && !apr_table_get(r->headers_out, "Expires")) {
Expand Down
2 changes: 1 addition & 1 deletion modules/http2/README.h2
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ TLS CONFIGURATION

If you want to use HTTP/2 with a browser, most modern browsers will support
it without further configuration. However, browsers so far only support
HTTP/2 over TLS and are expecially picky about the certificate and
HTTP/2 over TLS and are especially picky about the certificate and
encryption ciphers used.

Server admins may look for up-to-date information about "modern" TLS
Expand Down
2 changes: 1 addition & 1 deletion modules/http2/h2_conn.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ apr_status_t h2_conn_setup(struct h2_ctx *ctx, conn_rec *c, request_rec *r);
/**
* Run the HTTP/2 connection in synchronous fashion.
* Return when the HTTP/2 session is done
* and the connection will close or a fatal error occured.
* and the connection will close or a fatal error occurred.
*
* @param ctx the http2 context to run
* @return APR_SUCCESS when session is done.
Expand Down
4 changes: 2 additions & 2 deletions modules/http2/h2_h2.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define __mod_h2__h2_h2__

/**
* List of ALPN protocol identifiers that we suport in cleartext
* List of ALPN protocol identifiers that we support in cleartext
* negotiations. NULL terminated.
*/
extern const char *h2_clear_protos[];
Expand All @@ -36,7 +36,7 @@ extern const char *h2_tls_protos[];
const char *h2_h2_err_description(unsigned int h2_error);

/*
* One time, post config intialization.
* One time, post config initialization.
*/
apr_status_t h2_h2_init(apr_pool_t *pool, server_rec *s);

Expand Down
2 changes: 1 addition & 1 deletion modules/http2/h2_proxy_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void h2_iq_clear(h2_iqueue *q)
void h2_iq_sort(h2_iqueue *q, h2_iq_cmp *cmp, void *ctx)
{
/* Assume that changes in ordering are minimal. This needs,
* best case, q->nelts - 1 comparisions to check that nothing
* best case, q->nelts - 1 comparisons to check that nothing
* changed.
*/
if (q->nelts > 0) {
Expand Down
2 changes: 1 addition & 1 deletion modules/http2/h2_push.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ static h2_push_diary *diary_create(apr_pool_t *p, h2_push_digest_type dtype,

diary->NMax = ceil_power_of_2(N);
diary->N = diary->NMax;
/* the mask we use in value comparision depends on where we got
/* the mask we use in value comparison depends on where we got
* the values from. If we calculate them ourselves, we can use
* the full 64 bits.
* If we set the diary via a compressed golomb set, we have less
Expand Down
2 changes: 1 addition & 1 deletion modules/http2/h2_response.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ h2_response *h2_response_die(int stream_id, apr_status_t type,
h2_response *h2_response_clone(apr_pool_t *pool, h2_response *from);

/**
* Set the trailers in the reponse. Will replace any existing trailers. Will
* Set the trailers in the response. Will replace any existing trailers. Will
* *not* clone the table.
*
* @param response the repsone to set the trailers for
Expand Down
2 changes: 1 addition & 1 deletion modules/http2/h2_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ static apr_status_t h2_session_read(h2_session *session, int block)
/* successful read, reset our idle timers */
rstatus = APR_SUCCESS;
if (block) {
/* successfull blocked read, try unblocked to
/* successful blocked read, try unblocked to
* get more. */
block = 0;
}
Expand Down
Loading

0 comments on commit f6b43bb

Please sign in to comment.