summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-08-26 15:29:06 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2009-08-26 15:29:06 (GMT)
commit19f11e401db38df9a8fd18de774a02e9dbe9b17b (patch)
tree58943831d925a36687cd7696c578575311162d88 /sapi
parentb4b9615c0bdb4d0ca36e10903ccd3fde73fe6ee4 (diff)
downloadphp-19f11e401db38df9a8fd18de774a02e9dbe9b17b.tar.gz
Fixed variable clobbering
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cgi/fastcgi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c
index 37598dd..f88c625 100644
--- a/sapi/cgi/fastcgi.c
+++ b/sapi/cgi/fastcgi.c
@@ -398,20 +398,20 @@ int fcgi_listen(const char *path, int backlog)
} else {
#ifdef _WIN32
SECURITY_DESCRIPTOR sd;
- SECURITY_ATTRIBUTES sa;
+ SECURITY_ATTRIBUTES saw;
PACL acl;
HANDLE namedPipe;
- memset(&sa, 0, sizeof(sa));
- sa.nLength = sizeof(sa);
+ memset(&sa, 0, sizeof(saw));
+ sa.nLength = sizeof(saw);
sa.bInheritHandle = FALSE;
- acl = prepare_named_pipe_acl(&sd, &sa);
+ acl = prepare_named_pipe_acl(&sd, &saw);
namedPipe = CreateNamedPipe(path,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
PIPE_TYPE_BYTE | PIPE_WAIT | PIPE_READMODE_BYTE,
PIPE_UNLIMITED_INSTANCES,
- 8192, 8192, 0, &sa);
+ 8192, 8192, 0, &saw);
if (namedPipe == INVALID_HANDLE_VALUE) {
return -1;
}