From: Ruslan Ermilov Date: Wed, 14 May 2014 18:26:05 +0000 (+0400) Subject: Core: use '\r' for CR and '\n' for LF definitions. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=9b92f59aefe1e49ab70e7156263aec01c9eaecf2;p=nginx.git Core: use '\r' for CR and '\n' for LF definitions. --- diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index a2d417e8d..cb24f5c80 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -80,9 +80,9 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #include -#define LF (u_char) 10 -#define CR (u_char) 13 -#define CRLF "\x0d\x0a" +#define LF (u_char) '\n' +#define CR (u_char) '\r' +#define CRLF "\r\n" #define ngx_abs(value) (((value) >= 0) ? (value) : - (value))