From 606eda045bc3608977648fb1de61d8e328984d30 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 25 Jun 2018 16:56:45 +0300 Subject: Removed '\r' and '\n' artifact macros. --- src/nxt_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_runtime.c') diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index b72cd7d8..4923c965 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -1233,7 +1233,7 @@ nxt_runtime_pid_file_create(nxt_task_t *task, nxt_file_name_t *pid_file) ssize_t length; nxt_int_t n; nxt_file_t file; - u_char pid[NXT_INT64_T_LEN + NXT_LINEFEED_SIZE]; + u_char pid[NXT_INT64_T_LEN + nxt_length("\n")]; nxt_memzero(&file, sizeof(nxt_file_t)); -- cgit