Trivial debug log improvement

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22050 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-11-20 20:26:32 +00:00
parent e7021f1f74
commit 40bdc89439
2 changed files with 2 additions and 7 deletions

View file

@ -916,7 +916,8 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
*/
if ([path isAbsolutePath] == NO)
{
NSWarnMLog(@"NSBundle -initWithPath: requires absolute path names!");
NSWarnMLog(@"NSBundle -initWithPath: requires absolute path names, "
@"given '%@'", path);
path = [[[NSFileManager defaultManager] currentDirectoryPath]
stringByAppendingPathComponent: path];
}

View file

@ -727,12 +727,6 @@ static NSDistributedNotificationCenter *netCenter = nil;
_remote = [NSConnection
rootProxyForConnectionWithRegisteredName: service
host: host usingNameServer: ns];
if (_remote == nil && alternate != nil)
{
_remote = [NSConnection
rootProxyForConnectionWithRegisteredName:
alternate host: @"*" usingNameServer: ns];
}
}
if (_remote == nil)
{