comparison src/core/ngx_string.c @ 392:34fb3a573548 NGINX_0_7_8

nginx 0.7.8 *) Feature: the ngx_http_xslt_module. *) Feature: the "$arg_..." variables. *) Feature: Solaris directio support. Thanks to Ivan Debnar. *) Bugfix: now if FastCGI server sends a "Location" header line without status line, then nginx uses 302 status code. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Aug 2008 00:00:00 +0400
parents 0b6053502c55
children b4f69f2ef02c
comparison
equal deleted inserted replaced
391:4ec606a899d3 392:34fb3a573548
4 */ 4 */
5 5
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9
10
11 void
12 ngx_strlow(u_char *dst, u_char *src, size_t n)
13 {
14 while (n--) {
15 *dst = ngx_tolower(*src);
16 dst++;
17 src++;
18 }
19 }
9 20
10 21
11 u_char * 22 u_char *
12 ngx_cpystrn(u_char *dst, u_char *src, size_t n) 23 ngx_cpystrn(u_char *dst, u_char *src, size_t n)
13 { 24 {