Changeset 12596


Ignore:
Timestamp:
Jul 26, 2011, 10:46:33 PM (10 years ago)
Author:
livings124
Message:

#4388 include the computer name in the Bonjour service name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BonjourController.m

    r11860 r12596  
    4545    [self stop];
    4646   
    47     NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@)", NSUserName()];
     47    NSString * serviceName = [NSString stringWithFormat: @"Transmission Web Interface (%@ - %@)", NSUserName(), [[NSHost currentHost] localizedName]];
    4848   
    4949    fService = [[NSNetService alloc] initWithDomain: @"" type: @"_http._tcp." name: serviceName port: port];
Note: See TracChangeset for help on using the changeset viewer.