summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 04:00:22 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 04:00:22 +0800
commitd10177be1eb9a86b468387498fe81e979e1638cb (patch)
tree9259b7fdf8b44b9de200ce4c3293b0ec1589566e /mbbsd/mbbsd.c
parent92d9627bb03259894236d22f3eaebd3a487a536a (diff)
downloadpttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.gz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.bz2
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.lz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.xz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.zst
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.zip
no warning
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 5 insertions, 1 deletions
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 <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -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)