From 0c1af4ef61dd3a3324d7d5849db14fbae2b9ddca Mon Sep 17 00:00:00 2001 From: chombier <> Date: Mon, 23 Apr 2001 09:41:39 +0000 Subject: [PATCH] removed unused jump_buf --- lsh/MacOS/src/lsh_context.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lsh/MacOS/src/lsh_context.h b/lsh/MacOS/src/lsh_context.h index 0427364..bda6386 100755 --- a/lsh/MacOS/src/lsh_context.h +++ b/lsh/MacOS/src/lsh_context.h @@ -17,7 +17,7 @@ #define ERROR_BUF_SIZE 512 typedef struct lshcontext { - short _port; // for BetterTelnet's networking + int _port; // for BetterTelnet's networking void *_userdata; // available for callers pthread_t _thread; int _forward; @@ -25,7 +25,6 @@ typedef struct lshcontext { int _listener; // for cvs int _socket; // for cvs int _rcmdline; // for cvs - jmp_buf _exitbuf; jmp_buf *_pexitbuf; char *_gMemPool; int _filesTable[MAXFILESCOUNT]; @@ -70,6 +69,8 @@ typedef struct lshcontext { int _pindex; char _keychainprompt[256]; + struct lshcontext *_self; + } lshcontext; extern pthread_key_t ssh2threadkey;