summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-04-03 07:37:31 +0000
committerRuslan Ermilov <ru@nginx.com>2012-04-03 07:37:31 +0000
commit47a04aaa275d1a9b4a51997910f2b2a881464943 (patch)
tree349db1df06558325e03e3026293c52a309f49799 /src/core
parent7744472c8e4db956bd29c030fdca1e55f5b007fe (diff)
downloadnginx-47a04aaa275d1a9b4a51997910f2b2a881464943.tar.gz
nginx-47a04aaa275d1a9b4a51997910f2b2a881464943.tar.bz2
Fixed spelling in multiline C comments.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_conf_file.h2
-rw-r--r--src/core/ngx_connection.c2
-rw-r--r--src/core/ngx_file.c2
-rw-r--r--src/core/ngx_inet.c2
-rw-r--r--src/core/ngx_times.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h
index e92668cd4..4b87f1aad 100644
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -14,7 +14,7 @@
/*
- * AAAA number of agruments
+ * AAAA number of arguments
* FF command flags
* TT command type, i.e. HTTP "location" or "server" command
*/
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 4d1aa0d1b..ba1b3f9e2 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -708,7 +708,7 @@ ngx_close_listening_sockets(ngx_cycle_t *cycle)
/*
* it seems that Linux-2.6.x OpenVZ sends events
* for closed shared listening sockets unless
- * the events was explicity deleted
+ * the events was explicitly deleted
*/
ngx_del_event(c->read, NGX_READ_EVENT, 0);
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index ce3a0a282..d9b30f844 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -808,7 +808,7 @@ failed:
* reallocated if ctx->alloc is nonzero
*
* ctx->alloc - a size of data structure that is allocated at every level
- * and is initilialized by ctx->init_handler()
+ * and is initialized by ctx->init_handler()
*
* ctx->log - a log
*
diff --git a/src/core/ngx_inet.c b/src/core/ngx_inet.c
index 2785c8c8c..cfc06e48d 100644
--- a/src/core/ngx_inet.c
+++ b/src/core/ngx_inet.c
@@ -459,7 +459,7 @@ ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, size_t len)
struct sockaddr_in6 *sin6;
/*
- * prevent MSVC8 waring:
+ * prevent MSVC8 warning:
* potentially uninitialized local variable 'inaddr6' used
*/
ngx_memzero(inaddr6.s6_addr, sizeof(struct in6_addr));
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c
index 6a5808fe2..ed1bf64bc 100644
--- a/src/core/ngx_times.c
+++ b/src/core/ngx_times.c
@@ -33,7 +33,7 @@ volatile ngx_str_t ngx_cached_http_log_iso8601;
#if !(NGX_WIN32)
/*
- * locatime() and localtime_r() are not Async-Signal-Safe functions, therefore,
+ * localtime() and localtime_r() are not Async-Signal-Safe functions, therefore,
* they must not be called by a signal handler, so we use the cached
* GMT offset value. Fortunately the value is changed only two times a year.
*/
@@ -308,7 +308,7 @@ ngx_gmtime(time_t t, ngx_tm_t *tp)
/*
* The "days" should be adjusted to 1 only, however, some March 1st's go
* to previous year, so we adjust them to 2. This causes also shift of the
- * last Feburary days to next year, but we catch the case when "yday"
+ * last February days to next year, but we catch the case when "yday"
* becomes negative.
*/