Applied nxt_pointer_to() and nxt_value_at() where possible.

This commit is contained in:
Valentin Bartenev
2017-06-27 17:27:18 +03:00
parent f86c803098
commit dfd3cc8c0e
16 changed files with 28 additions and 37 deletions

View File

@@ -107,7 +107,7 @@ nxt_strerror_start(void)
return NXT_ERROR;
}
p = (u_char *) nxt_sys_errlist + n;
p = nxt_pointer_to(nxt_sys_errlist, n);
for (err = 0; err < nxt_sys_nerr; err++) {
msg = strerror((int) err);