THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
authorRoger Meier <roger@apache.org>
Sat, 6 Oct 2012 06:10:57 +0000 (06:10 +0000)
committerRoger Meier <roger@apache.org>
Sat, 6 Oct 2012 06:10:57 +0000 (06:10 +0000)
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

index 3a97dda..1f829a5 100644 (file)
@@ -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