]> granicus.if.org Git - transmission/commitdiff
#1589 Fix a forwarding bug introduced in r7352 random port
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 11 Dec 2008 22:47:07 +0000 (22:47 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 11 Dec 2008 22:47:07 +0000 (22:47 +0000)
macosx/PrefsController.m

index ea5b1281e321fa266acd0b40f0c2fd40a9fd471a..f1662d974dd009f05f08f2768de66bc961949c0d 100644 (file)
@@ -349,7 +349,7 @@ tr_handle * fHandle;
     tr_port port = tr_sessionSetPeerPortRandom(fHandle);
     
     [fPortField setIntValue: port];
-    [self setPort: nil];
+    [self setPort: fPortField];
 }
 
 - (void) setNat: (id) sender