Author: roger
Date: Sat Oct 6 06:10:57 2012
New Revision: 1394935
URL: http://svn.apache.org/viewvc?rev=1394935&view=rev
Log:
THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
minor fix
Modified:
thrift/trunk/lib/cpp/src/thrift/transport/TPipeServer.cpp
Modified: thrift/trunk/lib/cpp/src/thrift/transport/TPipeServer.cpp
URL:
http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/thrift/transport/TPipeServer.cpp?rev=1394935&r1=1394934&r2=1394935&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/thrift/transport/TPipeServer.cpp (original)
+++ thrift/trunk/lib/cpp/src/thrift/transport/TPipeServer.cpp Sat Oct 6
06:10:57 2012
@@ -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