Deleted Added
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_runtime.h>

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

1006 char *filename;
1007 mode_t access;
1008
1009 filename = sa->u.sockaddr_un.sun_path;
1010 access = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
1011
1012 if (chmod(filename, access) != 0) {
1013 ls->end = nxt_sprintf(ls->start, ls->end,
1014 "chmod(\\\"%s\\\") failed %E",
1015 filename, nxt_errno);
1016 goto fail;
1017 }
1018 }
1019
1020#endif
1021
1022 ls->socket = s;

--- 193 unchanged lines hidden ---