From dfb8298b28560f0e23b16b10e53c0be24183834b Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Sat, 6 Oct 2012 06:10:57 +0000 Subject: [PATCH] THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows minor fix git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394935 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/thrift/transport/TPipeServer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cpp/src/thrift/transport/TPipeServer.cpp b/lib/cpp/src/thrift/transport/TPipeServer.cpp index 3a97dda5..1f829a5e 100644 --- a/lib/cpp/src/thrift/transport/TPipeServer.cpp +++ b/lib/cpp/src/thrift/transport/TPipeServer.cpp @@ -257,7 +257,6 @@ bool TPipeServer::TCreateAnonPipe() { InitializeSecurityDescriptor(&sd,SECURITY_DESCRIPTOR_REVISION); SetSecurityDescriptorDacl(&sd, true, NULL, false); sa.lpSecurityDescriptor = &sd; - sa.lpSecurityDescriptor = NULL; sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.bInheritHandle = true; //allow passing handle to child -- 2.17.1