[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTOptions
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTOptions.ml |
Date: |
Mon, 07 Nov 2005 15:11:51 -0500 |
Index: mldonkey/src/networks/bittorrent/bTOptions.ml
diff -u mldonkey/src/networks/bittorrent/bTOptions.ml:1.23
mldonkey/src/networks/bittorrent/bTOptions.ml:1.24
--- mldonkey/src/networks/bittorrent/bTOptions.ml:1.23 Sat Nov 5 16:23:40 2005
+++ mldonkey/src/networks/bittorrent/bTOptions.ml Mon Nov 7 20:11:42 2005
@@ -30,6 +30,9 @@
int_option 6882
(* Generate client_uid *)
+(* current_version could be "2.6.6.CVS" (why send the dots?)
+ perhaps of use: Autoconf.major_version Autoconf.minor_version
Autoconf.sub_version
+*)
let generate_client_uid =
let client_uid_from_version = "-ML" ^ Autoconf.current_version ^ "-" in
let client_uid_random_tail = String.create (20 - (String.length
client_uid_from_version)) in