mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix reference to old class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17218 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
93fa4de6be
commit
f9073d6a75
1 changed files with 4 additions and 6 deletions
10
Tools/gdnc.m
10
Tools/gdnc.m
|
@ -34,8 +34,6 @@
|
|||
#define NSIG 32
|
||||
#endif
|
||||
|
||||
@class GSTcpPort;
|
||||
|
||||
static void
|
||||
ihandler(int sig)
|
||||
{
|
||||
|
@ -329,10 +327,10 @@ ihandler(int sig)
|
|||
*/
|
||||
if (isLocal == YES && service != GDNC_NETWORK)
|
||||
{
|
||||
NSPort *port = [GSTcpPort portWithNumber: 0
|
||||
onHost: [NSHost localHost]
|
||||
forceAddress: @"127.0.0.1"
|
||||
listener: YES];
|
||||
NSPort *port = [NSSocketPort portWithNumber: 0
|
||||
onHost: [NSHost localHost]
|
||||
forceAddress: @"127.0.0.1"
|
||||
listener: YES];
|
||||
conn = [[NSConnection alloc] initWithReceivePort: port sendPort: nil];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue