mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
fix for #38198 by Marcus Muller
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4f1581679
commit
780cfea7ce
2 changed files with 5 additions and 7 deletions
|
@ -1745,7 +1745,7 @@ static void DNSSD_API
|
|||
service->timer = nil;
|
||||
service->timeout = nil;
|
||||
|
||||
service->info = [[NSMutableDictionary alloc] initWithCapacity: 1];
|
||||
service->info = [[NSMutableDictionary alloc] initWithCapacity: 3];
|
||||
[service->info setObject: [domain retain]
|
||||
forKey: @"Domain"];
|
||||
[service->info setObject: [name retain]
|
||||
|
@ -1871,12 +1871,6 @@ static void DNSSD_API
|
|||
break;
|
||||
}
|
||||
|
||||
if (! [self delegate])
|
||||
{
|
||||
err = NSNetServicesInvalidError;
|
||||
break;
|
||||
}
|
||||
|
||||
if (service->timer)
|
||||
{
|
||||
err = NSNetServicesActivityInProgress;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue