From 9b92f59aefe1e49ab70e7156263aec01c9eaecf2 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 14 May 2014 22:26:05 +0400 Subject: [PATCH] Core: use '\r' for CR and '\n' for LF definitions. --- src/core/ngx_core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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))