aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h6
1 files 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 <ngx_proxy_protocol.h>
-#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))