Don't close the pipe, we need it for the next client
authorGé van Geldorp <ge@gse.nl>
Sun, 8 Jan 2006 20:12:11 +0000 (20:12 +0000)
committerGé van Geldorp <ge@gse.nl>
Sun, 8 Jan 2006 20:12:11 +0000 (20:12 +0000)
svn path=/trunk/; revision=20727

reactos/services/dhcp/pipe.c

index 1b31f99..2b98c30 100644 (file)
@@ -54,7 +54,7 @@ DWORD WINAPI PipeThreadProc( LPVOID Parameter ) {
                 break;
             }
         }
-        CloseHandle( CommPipe );
+        DisconnectNamedPipe( CommPipe );
     }
     
     return TRUE;