/[packages]/cauldron/lynx/current/SOURCES/lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch
ViewVC logotype

Contents of /cauldron/lynx/current/SOURCES/lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 2 months ago) by pterjan
File size: 590 byte(s)
oops
1 --- lynx2-8-6/WWW/Library/Implementation/HTTelnet.c.pix 2006-05-30 00:44:54.000000000 +0200
2 +++ lynx2-8-6/WWW/Library/Implementation/HTTelnet.c 2006-11-16 17:27:19.000000000 +0100
3 @@ -64,6 +64,12 @@
4 strcmp(acc_method, "rlogin") == 0 ? rlogin :
5 strcmp(acc_method, "tn3270") == 0 ? tn3270 : telnet;
6
7 + /* don't accept command line args to telnet */
8 + /* notting@redhat.com, 8-25-99 */
9 + for (; *host && *host =='-' ; host ++) {
10 + *host = '\0';
11 + }
12 +
13 /*
14 * Modified to allow for odd chars in a username only if exists.
15 * 05-28-94 Lynx 2-3-1 Garrett Arch Blythe

  ViewVC Help
Powered by ViewVC 1.1.30