From ebb7ac45d108c634ee714c584e0dd197a0ff3716 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 6 Feb 2003 01:01:27 +0000 Subject: [PATCH] Move net_service_lookup() to macnet.c, since that's where it belongs. git-svn-id: svn://svn.tartarus.org/sgt/putty@2806 cda61777-01e9-0310-a592-d414129be87e --- mac/macnet.c | 8 ++++++++ mac/mtcpnet.c | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/mac/macnet.c b/mac/macnet.c index b95a1b78..eb705e1a 100644 --- a/mac/macnet.c +++ b/mac/macnet.c @@ -166,6 +166,14 @@ void sk_cleanup(void) stack->cleanup(); } +/* We should use Internet Config here. */ +int net_service_lookup(char *service) +{ + + return 0; +} + + /* * Local Variables: * c-file-style: "simon" diff --git a/mac/mtcpnet.c b/mac/mtcpnet.c index 8f62f09c..754ce18d 100644 --- a/mac/mtcpnet.c +++ b/mac/mtcpnet.c @@ -831,13 +831,6 @@ OSErr CloseResolver(void) return noErr; } -/* MacTCP doesn't have a services database. */ -int net_service_lookup(char *service) -{ - - return 0; -} - #endif /* -- 2.11.0