nxt_listen_socket.c (493:745222d540a2) nxt_listen_socket.c (494:7c83ddcc1c42)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 291 unchanged lines hidden (view full) ---

300static u_char *
301nxt_listen_socket_log_handler(void *ctx, u_char *pos, u_char *end)
302{
303 nxt_sockaddr_t *sa;
304
305 sa = ctx;
306
307 return nxt_sprintf(pos, end, " while creating listening socket on %*s",
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 291 unchanged lines hidden (view full) ---

300static u_char *
301nxt_listen_socket_log_handler(void *ctx, u_char *pos, u_char *end)
302{
303 nxt_sockaddr_t *sa;
304
305 sa = ctx;
306
307 return nxt_sprintf(pos, end, " while creating listening socket on %*s",
308 (size_t) sa->length, sa->start);
308 (size_t) sa->length, nxt_sockaddr_start(sa));
309}
309}