Mercurial > hg > nginx
comparison src/os/unix/ngx_errno.c @ 4725:47936d1c98e9 stable-1.2
Merge of r4682, r4694, r4699, r4704, r4705: minor nits.
*) Fixed spelling of "endianness", and called it "byte ordering" in the
user visible part.
*) Fixed return type of ngx_strerror_init().
*) Fixed a harmless error in spelling of "Connection: close" when computing
the response header length.
*) Style.
*) Added code to look up Google perftools in /opt/local/, for MacPorts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 02 Jul 2012 16:51:02 +0000 |
parents | d620f497c50f |
children | 8cc5b0365ee5 |
comparison
equal
deleted
inserted
replaced
4724:0141b4aec0e4 | 4725:47936d1c98e9 |
---|---|
40 | 40 |
41 return ngx_cpymem(errstr, msg->data, size); | 41 return ngx_cpymem(errstr, msg->data, size); |
42 } | 42 } |
43 | 43 |
44 | 44 |
45 ngx_uint_t | 45 ngx_int_t |
46 ngx_strerror_init(void) | 46 ngx_strerror_init(void) |
47 { | 47 { |
48 char *msg; | 48 char *msg; |
49 u_char *p; | 49 u_char *p; |
50 size_t len; | 50 size_t len; |