Core/Source/GrowlTCPPathway.m
changeset 4484 8b8d2ecd6c25
parent 4483 f715dc19b715
child 4666 59b81a267426
child 4819 2e39ce17d1ea
     1.1 --- a/Core/Source/GrowlTCPPathway.m	Sat Oct 03 19:05:35 2009 -0700
     1.2 +++ b/Core/Source/GrowlTCPPathway.m	Sat Oct 03 19:06:31 2009 -0700
     1.3 @@ -28,8 +28,8 @@
     1.4  			[serverConnection setRootObject:self];
     1.5  			[serverConnection setDelegate:self];
     1.6  
     1.7 -			// register with the default NSPortNameServer on the local host
     1.8 -			if (![serverConnection registerName:@"GrowlServer"])
     1.9 +			// register with the NSSocketPortNameServer on the local host
    1.10 +			if (![serverConnection registerName:@"GrowlServer" withNameServer:[NSSocketPortNameServer sharedInstance]])
    1.11  				NSLog(@"WARNING: could not register Growl server.");
    1.12  
    1.13  			// configure and publish the Bonjour service