From: Roger Meier Date: Sat, 6 Oct 2012 06:10:57 +0000 (+0000) Subject: THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows X-Git-Tag: 0.9.1~286 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=dfb8298b28560f0e23b16b10e53c0be24183834b;p=common%2Fthrift.git 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 --- 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