Control of 'addr' is now handed over to {platform_,}new_connection() and
[u/mdw/putty] / mac / macnet.c
index b95a1b7..106a631 100644 (file)
@@ -144,7 +144,7 @@ Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only)
     return NULL;
 }
 
-char *sk_addr_error(SockAddr addr)
+const char *sk_addr_error(SockAddr addr)
 {
 
     if (stack != NULL)
@@ -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"