[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTMain.ml
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTMain.ml |
Date: |
Wed, 30 Nov 2005 18:34:29 -0500 |
Index: mldonkey/src/networks/bittorrent/bTMain.ml
diff -u mldonkey/src/networks/bittorrent/bTMain.ml:1.17
mldonkey/src/networks/bittorrent/bTMain.ml:1.18
--- mldonkey/src/networks/bittorrent/bTMain.ml:1.17 Mon Aug 15 20:27:56 2005
+++ mldonkey/src/networks/bittorrent/bTMain.ml Wed Nov 30 23:34:29 2005
@@ -65,6 +65,13 @@
Unix2.can_write_to_directory downloads_directory;
Unix2.can_write_to_directory old_directory;
is_enabled := true;
+ if !!BTTracker.tracker_port = !!client_port then
+ begin
+ lprint_newline();
+ lprintf_nl () "BT-client_port and BT-tracker_port can not be the same.";
+ lprintf_nl () "Change one of the settings and restart MLDonkey,
exiting...\n";
+ Pervasives.exit 69
+ end;
if !!BTTracker.tracker_port > 0 then (
try BTTracker.start_tracker ()
with e ->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTMain.ml,
mldonkey-commits <=