diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2012-07-24 16:28:49 -0700 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-07-25 02:03:47 +0200 |
commit | 5799ebdb0cafb2de1dbb18cfe780976c98dbaeac (patch) | |
tree | ef4c356e84382a0b3d7a0cd2e5d324634b807c0e | |
parent | ffa8461bfebebd8158cdb26ad5f3439c527545f7 (diff) | |
download | php-git-5799ebdb0cafb2de1dbb18cfe780976c98dbaeac.tar.gz |
Fix bug #62654
-rw-r--r-- | sapi/fpm/fpm/fpm_sockets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/fpm/fpm/fpm_sockets.c b/sapi/fpm/fpm/fpm_sockets.c index d24dcccc9a..f56b9cfbd1 100644 --- a/sapi/fpm/fpm/fpm_sockets.c +++ b/sapi/fpm/fpm/fpm_sockets.c @@ -455,11 +455,11 @@ int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) #endif -int fpm_socket_unix_test_connect(struct sockaddr_un *sun, size_t socklen) /* {{{ */ +int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ { int fd; - if (!sun || sun->sun_family != AF_UNIX) { + if (!sock || sock->sun_family != AF_UNIX) { return -1; } @@ -467,7 +467,7 @@ int fpm_socket_unix_test_connect(struct sockaddr_un *sun, size_t socklen) /* {{{ return -1; } - if (connect(fd, (struct sockaddr *)sun, socklen) == -1) { + if (connect(fd, (struct sockaddr *)sock, socklen) == -1) { return -1; } |