countach

Results 5 comments of countach

From having a brief look at it, this problem seems completely unnecessary. It looks to me like if you set host and port, everything is fine. But if you set...

OK, looks like the problem also occurs when setting host and port. But solution should be the same. Calls to NSHost currentHost are completely unnecessary since they are immediately overwritten...

Suggested fix: remove line setting host in init and add it to getter: - (id)init { [super init]; // relayHost = [[NSHost currentHost] retain]; port = 25; return self; }...

Looks like there are also two most instances where the super slow currentHost api is used, in sayEHLO and sayHELO. I tried also using SCDynamicStoreCopyLocalHostName(NULL), but for me at least...

Err.. why is this issue now closed?