aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c')
-rw-r--r--ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c50
1 files changed, 0 insertions, 50 deletions
diff --git a/ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c b/ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c
deleted file mode 100644
index 58f6f3d57056..000000000000
--- a/ftp/proftpd-devel/files/extra-patch-cyrillic-fix-netio.c
+++ /dev/null
@@ -1,50 +0,0 @@
---- ./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--;
- }