/[mldonkey]/mldonkey/src/networks/gnutella/gnutellaGlobals.ml
ViewVC logotype

Diff of /mldonkey/src/networks/gnutella/gnutellaGlobals.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by spiralvoice, Tue Jul 5 12:28:57 2005 UTC revision 1.30 by spiralvoice, Mon Aug 15 20:25:57 2005 UTC
# Line 321  let new_file file_temporary file_name fi Line 321  let new_file file_temporary file_name fi
321    let kernel = Int64Swarmer.create_swarmer file_temp file_size    let kernel = Int64Swarmer.create_swarmer file_temp file_size
322        (Int64.of_int (256 * 1024))  in        (Int64.of_int (256 * 1024))  in
323    let swarmer = Int64Swarmer.create kernel (as_file file) megabyte in    let swarmer = Int64Swarmer.create kernel (as_file file) megabyte in
324    Int64Swarmer.set_verifier swarmer VerificationNotAvailable;    Int64Swarmer.set_verifier swarmer ForceVerification;
325        
326  (* TODO: we could generalize this approach to any UID that is computed  (* TODO: we could generalize this approach to any UID that is computed
327    on the complete file (md5, sha1,...) *)    on the complete file (md5, sha1,...) *)

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26