mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 20:09:01 +08:00
Core: use '\r' for CR and '\n' for LF definitions.
This commit is contained in:
parent
e1a183946f
commit
9b92f59aef
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user