mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/networks/gnutella/gnutellaInt


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/networks/gnutella/gnutellaInteractive.ml
Date: Thu, 06 Oct 2005 06:19:36 -0400

Index: mldonkey/src/networks/gnutella/gnutellaInteractive.ml
diff -u mldonkey/src/networks/gnutella/gnutellaInteractive.ml:1.41 
mldonkey/src/networks/gnutella/gnutellaInteractive.ml:1.42
--- mldonkey/src/networks/gnutella/gnutellaInteractive.ml:1.41  Sun Sep 18 
19:00:52 2005
+++ mldonkey/src/networks/gnutella/gnutellaInteractive.ml       Thu Oct  6 
10:19:30 2005
@@ -272,8 +272,14 @@
   
 let _ =
   file_ops.op_file_cancel <- (fun file ->
+      Int64Swarmer.remove_swarmer file.file_swarmer;
+      file.file_swarmer <- None;
       remove_file file;
       GnutellaProto.cancel_recover_files file
+  );
+  file_ops.op_file_commit <- (fun file new_name ->
+      Int64Swarmer.remove_swarmer file.file_swarmer;
+      file.file_swarmer <- None;
   );
   file_ops.op_file_info <- (fun file ->
       {




reply via email to

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