From d10177be1eb9a86b468387498fe81e979e1638cb Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 15 Apr 2002 20:00:22 +0000 Subject: no warning git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd/mbbsd.c') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 3a63321a..3f2b68e7 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.20 2002/04/15 18:10:27 ptt Exp $ */ +/* $Id: mbbsd.c,v 1.21 2002/04/15 20:00:22 in2 Exp $ */ #include #include #include @@ -42,7 +42,9 @@ extern int curr_idle_timeout; static void do_aloha (char *hello); +#if 0 static jmp_buf byebye; +#endif int talkrequest = NA; @@ -1090,12 +1092,14 @@ telnet_init () #define RFC931_PORT 113 /* Semi-well-known port */ #define ANY_PORT 0 /* Any old port will do */ +#if 0 /* timeout - handle timeouts */ static void timeout (int sig) { longjmp (byebye, sig); } +#endif static void getremotename (struct sockaddr_in *from, char *rhost, char *rname) -- cgit v1.2.3