From 30ee561aa227b6bc18ad8d63acd1d3b08e4f52b9 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 16 Oct 2004 07:40:09 +0000 Subject: trip IAC char in user's nick git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/proto.h b/include/proto.h index 3a96f45a..de28e802 100644 --- a/include/proto.h +++ b/include/proto.h @@ -288,6 +288,7 @@ int getdata_buf(int line, int col, char *prompt, char *buf, int len, int echo); void add_io(int fd, int timeout); void oflush(void); int strip_ansi(char *buf, char *str, int mode); +void strip_iac(unsigned *str, int maxlen); int oldgetdata(int line, int col, char *prompt, char *buf, int len, int echo); void output(char *s, int len); int num_in_buf(void); -- cgit v1.2.3