about summary refs log tree commit diff
path: root/manual/examples/inetcli.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/inetcli.c')
-rw-r--r--manual/examples/inetcli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/inetcli.c b/manual/examples/inetcli.c
index 258c6892aa..35dfb379e8 100644
--- a/manual/examples/inetcli.c
+++ b/manual/examples/inetcli.c
@@ -9,7 +9,7 @@
 
 #define PORT		5555
 #define MESSAGE		"Yow!!! Are we having fun yet?!?"
-#define SERVERHOST 	"churchy.gnu.ai.mit.edu"
+#define SERVERHOST 	"mescaline.gnu.org"
 
 void 
 write_to_server (int filedes)
@@ -30,7 +30,7 @@ main (void)
 {
   extern void init_sockaddr (struct sockaddr_in *name,
 			     const char *hostname,
-			     unsigned short int port);
+			     uint16_t port);
   int sock;
   struct sockaddr_in servername;