From: Mitchell Livingston Date: Thu, 11 Dec 2008 22:47:07 +0000 (+0000) Subject: #1589 Fix a forwarding bug introduced in r7352 random port X-Git-Tag: 1.60~786 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=659afd89bedf72394ad7ac2a5a4ff8118792c9df;p=transmission #1589 Fix a forwarding bug introduced in r7352 random port --- diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index ea5b1281e..f1662d974 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -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