mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +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
|
@ -1,3 +1,7 @@
|
|||
2013-02-10 Marcus Muller <znek@mulle-kybernetik.com>
|
||||
|
||||
* Source/GSMDNSNetServices.msh whether a delegate is set or not.
|
||||
:
|
||||
2013-02-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURL.m: For OSX compatibility, if we are creating a relative
|
||||
|
|
|
@ -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