From: Mitchell Livingston Date: Tue, 26 Jul 2011 22:46:33 +0000 (+0000) Subject: #4388 include the computer name in the Bonjour service name X-Git-Tag: 2.40b1~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bbb48df16914ae3d759a139d321168c15170cf6;p=transmission #4388 include the computer name in the Bonjour service name --- diff --git a/macosx/BonjourController.m b/macosx/BonjourController.m index 489095e2e..c4b6e050b 100644 --- a/macosx/BonjourController.m +++ b/macosx/BonjourController.m @@ -44,7 +44,7 @@ BonjourController * fDefaultController = nil; { [self stop]; - NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@)", NSUserName()]; + NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@ - %@)", NSUserName(), [[NSHost currentHost] localizedName]]; fService = [[NSNetService alloc] initWithDomain: @"" type: @"_http._tcp." name: serviceName port: port]; [fService setDelegate: self];