RPC Merge (E_PL3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



LICENSE: X11

CHANGELOG:

* dlls/rpcrt4: rpc_server.c: Greg Turner <gmturner007@ameritech.net>
- Fix up RpcMgmtWaitServerListen to be less incorrect

-- 
gmt
Index: dlls/rpcrt4/rpc_server.c
===================================================================
RCS file: /home/wine/wine/dlls/rpcrt4/rpc_server.c,v
retrieving revision 1.2
diff -u -r1.2 rpc_server.c
--- dlls/rpcrt4/rpc_server.c	18 Oct 2002 03:56:57 -0000	1.2
+++ dlls/rpcrt4/rpc_server.c	18 Oct 2002 16:00:58 -0000
@@ -558,14 +558,18 @@
  */
 RPC_STATUS WINAPI RpcMgmtWaitServerListen( void )
 {
-  TRACE("\n");
+  RPC_STATUS rslt = RPC_S_OK;
 
-  RPCRT4_start_listen();
-  while (listen_count > -1) {
+  TRACE("\n");
+  if (!std_listen)
+    if ( (rslt = RpcServerListen(1, 0, TRUE)) != RPC_S_OK )
+      return rslt;
+  
+  while (std_listen) {
     WaitForSingleObject(mgr_event, 1000);
   }
 
-  return RPC_S_OK;
+  return rslt;
 }
 
 /***********************************************************************

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux