mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverMain.ml


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverMain.ml
Date: Thu, 27 Oct 2005 17:30:44 -0400

Index: mldonkey/src/daemon/driver/driverMain.ml
diff -u mldonkey/src/daemon/driver/driverMain.ml:1.78 
mldonkey/src/daemon/driver/driverMain.ml:1.79
--- mldonkey/src/daemon/driver/driverMain.ml:1.78       Mon Oct 10 15:18:24 2005
+++ mldonkey/src/daemon/driver/driverMain.ml    Thu Oct 27 21:30:43 2005
@@ -536,7 +536,7 @@
     MlUnix.set_signal  Sys.sighup
       (Sys.Signal_handle (fun _ ->
         lprintf_nl "Received SIGHUP, closing all files/sockets";
-         BasicSocket.close_all ();
+         BasicSocket.really_close_all ();
         Unix32.close_all ()
          ));
 
@@ -615,7 +615,7 @@
       (* If we have an error with too many file-descriptors,
          just close all of them *)
       (try
-         BasicSocket.close_all ();
+         BasicSocket.really_close_all ();
        with e ->
            lprintf_nl "Exception %s in do_at_exit while closing sockets."
              (Printexc2.to_string e);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]