Move chown to fpm_unix_set_socket_premissions()
authorRemi Collet <remi@php.net>
Sat, 29 Nov 2014 15:49:08 +0000 (16:49 +0100)
committerRemi Collet <remi@php.net>
Sat, 29 Nov 2014 15:49:08 +0000 (16:49 +0100)
commite1d4ac426c817377cbe01287b6ada824146d26c9
treefc04b281c8a9aedb7f3cd487daf80bae23716b22
parent57d7b4fc567aa43a4fb9fb021effa73a92d47461
Move chown to fpm_unix_set_socket_premissions()

For consistency, with fpm_unix_resolve_socket_premissions.
Compute + Use in the same source file.
To make easier future enhancement.

Also check chdir output to fix a build warning.
sapi/fpm/fpm/fpm_sockets.c
sapi/fpm/fpm/fpm_unix.c
sapi/fpm/fpm/fpm_unix.h