diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-06-25 16:56:45 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-06-25 16:56:45 +0300 |
commit | 606eda045bc3608977648fb1de61d8e328984d30 (patch) | |
tree | cb24949d225133bd34f243e2445d7ba9cadfcbdf /src/nxt_string.h | |
parent | 1a52d876f7e10d07f58deee6faeaf70a11a6110f (diff) | |
download | unit-606eda045bc3608977648fb1de61d8e328984d30.tar.gz unit-606eda045bc3608977648fb1de61d8e328984d30.tar.bz2 |
Removed '\r' and '\n' artifact macros.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_string.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index e6d32fa6..5f82cca8 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -21,19 +21,6 @@ nxt_isdigit(c) \ ((u_char) ((c) - '0') <= 9) -#define NXT_CR (u_char) 13 -#define NXT_LF (u_char) 10 -#define NXT_CRLF "\x0d\x0a" -#define NXT_CRLF_SIZE nxt_length(NXT_CRLF) - - -#define NXT_LINEFEED_SIZE 1 - -#define \ -nxt_linefeed(p) \ - *p++ = NXT_LF - - #define \ nxt_strlen(s) \ strlen((char *) s) |