65 |
Unix2.can_write_to_directory downloads_directory; |
Unix2.can_write_to_directory downloads_directory; |
66 |
Unix2.can_write_to_directory old_directory; |
Unix2.can_write_to_directory old_directory; |
67 |
is_enabled := true; |
is_enabled := true; |
68 |
|
if !!BTTracker.tracker_port = !!client_port then |
69 |
|
begin |
70 |
|
lprint_newline(); |
71 |
|
lprintf_nl () "BT-client_port and BT-tracker_port can not be the same."; |
72 |
|
lprintf_nl () "Change one of the settings and restart MLDonkey, exiting...\n"; |
73 |
|
Pervasives.exit 69 |
74 |
|
end; |
75 |
if !!BTTracker.tracker_port > 0 then ( |
if !!BTTracker.tracker_port > 0 then ( |
76 |
try BTTracker.start_tracker () |
try BTTracker.start_tracker () |
77 |
with e -> |
with e -> |