]> granicus.if.org Git - apache/commitdiff
fix some grammar mistakes, mostly in comments
authorJeff Trawick <trawick@apache.org>
Sat, 12 Mar 2011 00:35:39 +0000 (00:35 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 12 Mar 2011 00:35:39 +0000 (00:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1080821 13f79535-47bb-0310-9956-ffa450edef68

13 files changed:
include/http_config.h
modules/aaa/mod_auth_digest.c
modules/arch/win32/mod_isapi.h
modules/cache/cache_pqueue.h
modules/filters/mod_sed.c
modules/http/http_request.c
modules/ldap/util_ldap.c
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy_balancer.c
modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_engine_pphrase.c
server/core.c
server/mpm/winnt/service.c

index 6c09410e20967bf9f5e82aa57a4222114127b3d0..f7896bc9d01825c40e8a9b2209cc10da47e2fe95 100644 (file)
@@ -102,9 +102,9 @@ typedef union {
 
 /** This configuration directive does not take any arguments */
 # define AP_NO_ARGS    func.no_args
-/** This configuration directive will handle it's own parsing of arguments*/
+/** This configuration directive will handle its own parsing of arguments*/
 # define AP_RAW_ARGS   func.raw_args
-/** This configuration directive will handle it's own parsing of arguments*/
+/** This configuration directive will handle its own parsing of arguments*/
 # define AP_TAKE_ARGV  func.take_argv
 /** This configuration directive takes 1 argument*/
 # define AP_TAKE1      func.take1
index b137059c00bc850a1ef0bdf6bf9ca8ea3aa67938..81b884f5f97303bf17ada1f74211bce41820857e 100644 (file)
@@ -1340,7 +1340,7 @@ static void note_digest_auth_failure(request_rec *r,
 
     /* don't send domain
      * - for proxy requests
-     * - if it's no specified
+     * - if it's not specified
      */
     if (r->proxyreq || !conf->uri_list) {
         domain = NULL;
index 44c845b4eedaa3fb04232a78bfafcca28c0aa4dd..dcef4fc73ad8ab29e0bcbdbd6be9bf5b9ef5bb4a 100644 (file)
@@ -257,7 +257,7 @@ typedef int (APR_THREAD_FUNC *PFN_TERMINATEEXTENSION)(apr_uint32_t flags);
 
 /* Module may return 0 if passed HSE_TERM_ADVISORY_UNLOAD, and the module
  * will remain loaded, or 1 if it consents to being unloaded. If the module
- * is passed HSE_TERM_MUST_UNLOAD, it's return value is ignored.
+ * is passed HSE_TERM_MUST_UNLOAD, its return value is ignored.
  */
 #define HSE_TERM_MUST_UNLOAD      1
 #define HSE_TERM_ADVISORY_UNLOAD  2
index 469648644dd1c69bec12e0e284ceeb9be5a7dc03..b658bb7fde2a271b850c7425e71ab5904e82257b 100644 (file)
@@ -141,7 +141,7 @@ void cache_pq_print(cache_pqueue_t *q,
                     cache_pqueue_print_entry print);
 
 /**
- * dump the queue and it's internal structure
+ * dump the queue and its internal structure
  * @internal
  * debug function only
  * @param q the queue
index 5252f3e3869cc4493cab8668642241eb7f24d57d..8c67706093c34e33c5da162216ea03a16e951cf3 100644 (file)
@@ -306,7 +306,7 @@ static apr_status_t sed_response_filter(ap_filter_t *f,
      * sed_write_output which will add the output to ctx->bb. At the end of
      * the loop, ctx->bb is passed to the next filter in chain. At the end of
      * the data, if new line is not found then sed_eval_buffer will store the
-     * data in it's own buffer.
+     * data in its own buffer.
      *
      * Once eos bucket is found then sed_finalize_eval will flush the rest of
      * the data. If there is no new line in last line of data, new line is
@@ -424,7 +424,7 @@ static apr_status_t sed_request_filter(ap_filter_t *f,
     /* Here is the logic :
      * Read the readbytes data from next level fiter into bbinp. Loop through
      * the buckets in bbinp and read the data from buckets and invoke
-     * sed_eval_buffer on the data. libsed will generate it's output using
+     * sed_eval_buffer on the data. libsed will generate its output using
      * sed_write_output which will add data in ctx->bb. Do it until it have
      * atleast one bucket bucket in ctx->bb. At the end of data eos bucket
      * should be there.
index 852b3e110bd704597b07fa4d7af7ea85e7ea8fb5..ed167083c950fa8f412bf0ae53a504783c91f2b0 100644 (file)
@@ -371,7 +371,7 @@ void ap_process_request(request_rec *r)
              * valuable for detecting clients with broken network
              * connections or possible DoS attacks.
              *
-             * It is still save to use r / r->pool here as the eor bucket
+             * It is still safe to use r / r->pool here as the eor bucket
              * could not have been destroyed in the event of a timeout.
              */
             ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
index 9c1511088020b047eaf6d27e948c6cf8479c71e0..e714938a617cf99a5545bcb213c68b8d12393fee 100644 (file)
@@ -192,7 +192,7 @@ static apr_status_t uldap_connection_unbind(void *param)
  * Clean up an LDAP connection by unbinding and unlocking the connection.
  * This cleanup does not remove the util_ldap_connection_t from the 
  * per-virtualhost list of connections, does not remove the storage
- * for the util_ldap_connection_t or it's data, and is NOT run automatically.
+ * for the util_ldap_connection_t or its data, and is NOT run automatically.
  */
 static apr_status_t uldap_connection_cleanup(void *param)
 {
index 1a5ad175c9e37f5587886fee0b11fa478b7a0729..ce5a83a8151ca078d78198b6fbc7ebdd99924368 100644 (file)
@@ -67,7 +67,7 @@ static const char *set_worker_param(apr_pool_t *p,
          */
         worker->s->lbfactor = atoi(val);
         if (worker->s->lbfactor < 1 || worker->s->lbfactor > 100)
-            return "LoadFactor must be number between 1..100";
+            return "LoadFactor must be number between 1..100";
     }
     else if (!strcasecmp(key, "retry")) {
         /* If set it will give the retry timeout for the worker
index cf4c7397756916d7fd806df098d7da6643c832ae..24febdd57f0542cb8774244721340950957f4b1d 100644 (file)
@@ -149,7 +149,7 @@ static char *get_path_param(apr_pool_t *pool, char *url,
         path += strlen(name);
         if (*path == '=') {
             /*
-             * Session path was found, get it's value
+             * Session path was found, get its value
              */
             ++path;
             if (*path) {
@@ -180,7 +180,7 @@ static char *get_cookie_param(request_rec *r, const char *name)
                     ++start_cookie;
                 if (*start_cookie++ == '=' && *start_cookie) {
                     /*
-                     * Session cookie was found, get it's value
+                     * Session cookie was found, get its value
                      */
                     char *end_cookie, *cookie;
                     cookie = apr_pstrdup(r->pool, start_cookie);
@@ -654,7 +654,7 @@ static void recalc_factors(proxy_balancer *balancer)
 
     /* Recalculate lbfactors */
     workers = (proxy_worker **)balancer->workers->elts;
-    /* Special case if there is only one worker it's
+    /* Special case if there is only one worker its
      * load factor will always be 1
      */
     if (balancer->workers->nelts == 1) {
index 60b2b715410288b9be027a46c59a82b97c5604de..e8df047352da8348545188eb26c9733f226d4058 100644 (file)
@@ -1610,7 +1610,7 @@ int ssl_callback_SSLVerify_CRL(int ok, X509_STORE_CTX *ctx, conn_rec *c)
      * We come through this procedure for each certificate in the certificate
      * chain, starting with the root-CA's certificate. At each step we've to
      * both verify the signature on the CRL (to make sure it's a valid CRL)
-     * and it's revocation list (to make sure the current certificate isn't
+     * and its revocation list (to make sure the current certificate isn't
      * revoked).  But because to check the signature on the CRL we need the
      * public key of the issuing CA certificate (which was already processed
      * one round before), we've a little problem. But we can both solve it and
@@ -1634,7 +1634,7 @@ int ssl_callback_SSLVerify_CRL(int ok, X509_STORE_CTX *ctx, conn_rec *c)
 
     /*
      * Try to retrieve a CRL corresponding to the _subject_ of
-     * the current certificate in order to verify it's integrity.
+     * the current certificate in order to verify its integrity.
      */
     memset((char *)&obj, 0, sizeof(obj));
     rc = SSL_X509_STORE_lookup(mctx->crl,
index 3cea72df279564fd2a265157a43fcc22788de899..61ab0a6fd7abcba3631609ad48c523618c66f9a7 100644 (file)
@@ -813,7 +813,7 @@ int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify, void *srv)
     *cppPassPhraseCur = apr_pstrdup(p, buf);
 
     /*
-     * And return it's length to OpenSSL...
+     * And return its length to OpenSSL...
      */
     return (len);
 }
index caa02e69e35af7fe16eea9be28b6e11fb3a0cbf6..f764df667a09b96e862825da010aaea6fc3587d9 100644 (file)
@@ -231,7 +231,7 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv)
         conf->response_code_strings = new->response_code_strings;
     }
     else if (new->response_code_strings != NULL) {
-        /* If we merge, the merge-result must have it's own array
+        /* If we merge, the merge-result must have its own array
          */
         conf->response_code_strings = apr_pmemdup(a,
             base->response_code_strings,
@@ -297,7 +297,7 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv)
         conf->sec_file = new->sec_file;
     }
     else if (new->sec_file) {
-        /* If we merge, the merge-result must have it's own array
+        /* If we merge, the merge-result must have its own array
          */
         conf->sec_file = apr_array_append(a, base->sec_file, new->sec_file);
     }
@@ -308,7 +308,7 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv)
         conf->sec_if = new->sec_if;
     }
     else if (new->sec_if) {
-        /* If we merge, the merge-result must have it's own array
+        /* If we merge, the merge-result must have its own array
          */
         conf->sec_if = apr_array_append(a, base->sec_if, new->sec_if);
     }
index adfea4a1e6e297e1ca276e95c187e16bce7bd896..ffe736d6586e3c65dfe8be0a540020c2597b8874 100644 (file)
@@ -291,7 +291,7 @@ static int ReportStatusToSCMgr(int currentState, int waitHint,
 }
 
 /* Note this works on Win2000 and later due to ChangeServiceConfig2
- * Continue to test it's existence, but at least drop the feature
+ * Continue to test its existence, but at least drop the feature
  * of revising service description tags prior to Win2000.
  */