summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-05-10 02:00:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-05-10 02:00:51 +0000
commite4dc71b9fd4a33715b07f881315d244cf5790dce (patch)
treeef3d541f654538fb428589bcde9e9b73c688157d /usr.sbin/httpd
parent5323f19923d178a32640441002e11d28b3d960df (diff)
Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->
'possibility', 'optins' -> 'options', 'resposne' -> 'response', 'unecessary' -> 'unnecessary', 'desination' -> 'destination'. Collected from various misc@ and tech@ postings, many by Brad Tilley.
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r--usr.sbin/httpd/src/main/http_core.c4
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_scache_shmcb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/main/http_core.c b/usr.sbin/httpd/src/main/http_core.c
index 035bc2fc160..5f416f0ea3a 100644
--- a/usr.sbin/httpd/src/main/http_core.c
+++ b/usr.sbin/httpd/src/main/http_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: http_core.c,v 1.26 2010/02/23 08:15:27 pyr Exp $ */
+/* $OpenBSD: http_core.c,v 1.27 2010/05/10 02:00:50 krw Exp $ */
/* ====================================================================
* The Apache Software License, Version 1.1
@@ -1934,7 +1934,7 @@ static const char *set_server_root(cmd_parms *cmd, void *dummy, char *arg)
* On restarts (graceful or not) we are (unless we're in unsecure mode).
* if we would strip off the chroot prefix, nothing (not even "/")
* would last.
- * it's pointless to test wether ServerRoot is a directory if we are
+ * it's pointless to test whether ServerRoot is a directory if we are
* already chrooted into that.
* Of course it's impossible to change ServerRoot without a full restart.
* should we abort with an error if ap_server_root != arg?
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_scache_shmcb.c b/usr.sbin/httpd/src/modules/ssl/ssl_scache_shmcb.c
index d5b8050451a..e25f30cfe11 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_scache_shmcb.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_scache_shmcb.c
@@ -1092,7 +1092,7 @@ static BOOL shmcb_insert_encoded_session(
}
}
- /* probably unecessary checks, but I'll leave them until this code
+ /* probably unnecessary checks, but I'll leave them until this code
* is verified. */
if (shmcb_get_safe_uint(cache->pos_count) + encoded_len >
header->cache_data_size) {