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:
Richard Frith-Macdonald 2003-07-15 05:48:18 +00:00
parent 93fa4de6be
commit f9073d6a75

View file

@ -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