aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-11-01 13:24:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-11-01 13:24:50 +0000
commit340e48b29f49b89bf7dc562533dae1d8d2ec2cc7 (patch)
treeb3a423ebd7d008ca87a0ab512d472376c6a21a78 /src/core/ngx_string.c
parent8f86bdbb06393fdd48054c955aca4114f88c4ad7 (diff)
downloadnginx-340e48b29f49b89bf7dc562533dae1d8d2ec2cc7.tar.gz
nginx-340e48b29f49b89bf7dc562533dae1d8d2ec2cc7.zip
Merging r4132, r4134, r4143, r4183, r4191, r4199:
Various fixes related to error messages: *) Removed old warning that suggested to use "server_name_in_redirect off" (now the default) in place of no longer supported "server_name *". *) Fixing directive name in error message if types hash size is not enough. *) Replaced "can not" with "cannot" and "could not" in a bunch of places. Fixed nearby grammar errors. *) Overhauled error messages.
Diffstat (limited to 'src/core/ngx_string.c')
-rw-r--r--src/core/ngx_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c
index 4dcfe01eb..75bc6578d 100644
--- a/src/core/ngx_string.c
+++ b/src/core/ngx_string.c
@@ -381,7 +381,7 @@ ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args)
/*
* (int64_t) cast is required for msvc6:
- * it can not convert uint64_t to double
+ * it cannot convert uint64_t to double
*/
ui64 = (uint64_t) ((f - (int64_t) ui64) * scale + 0.5);