8578d19196
(mod_codeconv allow change filename's charsets "on the fly") - Add "Cyrrilic charset fix" patch and option into Makefile - Fix mode_nls patch problems - Bump PORTREVISION PR: 108244 Submitted by: Denis Barov<dindin@freebsd.org.ua> Approved by: maintainer
50 lines
1 KiB
C
50 lines
1 KiB
C
--- ./src/netio.c.orig Sun Oct 10 00:46:22 2004
|
|
+++ ./src/netio.c Thu Oct 12 15:17:22 2006
|
|
@@ -901,47 +901,6 @@
|
|
cp = *pbuf->current++;
|
|
pbuf->remaining++;
|
|
|
|
- switch (mode) {
|
|
- case IAC:
|
|
- switch (cp) {
|
|
- case WILL:
|
|
- case WONT:
|
|
- case DO:
|
|
- case DONT:
|
|
- mode = cp;
|
|
- continue;
|
|
-
|
|
- case IAC:
|
|
- mode = 0;
|
|
- break;
|
|
-
|
|
- default:
|
|
- /* Ignore */
|
|
- mode = 0;
|
|
- continue;
|
|
- }
|
|
- break;
|
|
-
|
|
- case WILL:
|
|
- case WONT:
|
|
- pr_netio_printf(out_nstrm, "%c%c%c", IAC, DONT, cp);
|
|
- mode = 0;
|
|
- continue;
|
|
-
|
|
- case DO:
|
|
- case DONT:
|
|
- pr_netio_printf(out_nstrm, "%c%c%c", IAC, WONT, cp);
|
|
- mode = 0;
|
|
- continue;
|
|
-
|
|
- default:
|
|
- if (cp == IAC) {
|
|
- mode = cp;
|
|
- continue;
|
|
- }
|
|
- break;
|
|
- }
|
|
-
|
|
*bp++ = cp;
|
|
buflen--;
|
|
}
|