mldonkey-users
[Top][All Lists]
Advanced

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

Re: Re[2]: [Mldonkey-users] pango-20021128b


From: Thomas de Grenier de Latour
Subject: Re: Re[2]: [Mldonkey-users] pango-20021128b
Date: Thu, 28 Nov 2002 20:15:58 +0100

On Thu, 28 Nov 2002 18:08:22 +0100 (CET)
address@hidden wrote:

> Maybe you can try that: in file common/commonOptions.ml,
> replace:
> 
> let _ =
>   option_hook client_md4 (fun _ -> client_md4 =:=
> mldonkey_md4 !!client_md4)
> 
> with:
> 
> let _ =
>   option_hook client_md4 (fun _ -> 
>     if (!!client_md4 != mldonkey_md4 !!client_md4) then
> client_md4 =:= mldonkey_md4 !!client_md4)

I'm back home, and I'm testing this patch. At least, it compiles and
launch fine with my old downloads.ini. My client_md4 has been changed on
two bytes. Is that the expected behavior ?

Maybe another (better?) patch would be:
let _ =
-  option_hook client_md4 (fun _ -> client_md4 =:= mldonkey_md4
!!client_md4)
+  option_hook client_md4 (fun _ -> client_md4.option_value <-
mldonkey_md4 !!client_md4)

-- Thomas.




reply via email to

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