mldonkey-bugs
[Top][All Lists]
Advanced

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

[Mldonkey-bugs] [bug #14324] FileTP downloads do not resume after core r


From: kempston
Subject: [Mldonkey-bugs] [bug #14324] FileTP downloads do not resume after core restart
Date: Tue, 30 Aug 2005 02:48:06 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.02

Follow-up Comment #3, bug #14324 (project mldonkey):

I've played with replacing filetp files of 2.6.3 with 2.6.0 and found out
that it goes wrong after changes made in
fileTPGlobals.ml

checking difference show that problem lies here

@@ -209,19 +216,18 @@
       Hashtbl.add clients_by_uid key c;
       c
     
-let add_download file c url referer =
+let add_download file c url =
 (*  let r = new_result file.file_name (file_size file) in *)
 (*  add_source r c.client_user index; *)
   if !verbose then lprintf "Adding file to client\n";
   if not (List.memq c file.file_clients) then begin
       let chunks = [ Int64.zero, file_size file ] in
       (*
-      let bs = Int64Swarmer.register_uploader file.file_swarmer
+      let bs = Int64Swarmer.register_uploader file.file_swarmer 
         (Int64Swarmer.AvailableRanges chunks) in *)
       c.client_downloads <- c.client_downloads @ [{
           download_file = file;
           download_url = url;
-          download_referer = referer;
           download_chunks = chunks;
           download_uploader = None;
           download_ranges = [];


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14324>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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