[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Mldonkey-bugs] mld199b8 sending duplicate email notifications
From: |
MLdonkey |
Subject: |
RE: [Mldonkey-bugs] mld199b8 sending duplicate email notifications |
Date: |
Sat, 28 Sep 2002 13:04:25 +0200 (CEST) |
>
> I realise the programmers of mld are busy so I was wondering if anyone on
> this
> list could tell me if the below code has issues or not.... They are extracts
> from file: donkeyOneFile.ml - I added the previous version to compare.
>
> What do you think?
>
> *OLD* - Revision 1.5 / Tue Sep 10 04:22:07 2002 UTC (2 weeks, 1 day ago) by
> b8_bavard
>
> let update_options file =
> file.file_absent_chunks <- List.rev (find_absents file);
> check_file_downloaded file
>
>
> *NEW* - Revision 1.6 / Tue Sep 24 14:34:00 2002 UTC (37 hours, 45 minutes
> ago)
> by b8_bavard
>
> let _ =
> file_ops.op_file_to_option <- (fun file ->
> if file.file_chunks <> [||] then begin
> file.file_absent_chunks <- List.rev (find_absents file);
> check_file_downloaded file;
> end;
> file_to_value file)
>
> Thank you once again.
>
> Cheers,
> Chris
You probably found the bug ! In fact, the update_options was not
called anymore, before beta8, but now, its code has been moved to the
file saving function: each time mldonkey saves the files.ini file, it
calls the check_file_downloaded function that send you a mail !
This was fixed in fact yesterday and commited this morning, so you
might check out the new CVS to try it.
- MLDonkey