bug: tracker was unset
authorVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Wed, 17 Feb 2010 17:06:10 +0000 (18:06 +0100)
committerVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Wed, 17 Feb 2010 17:06:10 +0000 (18:06 +0100)
swift.cpp

index d226265..8076afd 100644 (file)
--- a/swift.cpp
+++ b/swift.cpp
@@ -64,6 +64,7 @@ int main (int argc, char** argv) {
                 tracker = Address(optarg);
                 if (tracker==Address())
                     quit("address must be hostname:port, ip:port or just port\n");
+                SetTracker(tracker);
                 break;
             case 'D':
                 Channel::debug_file = optarg ? fopen(optarg,"a") : stdout;