Line
Link Here
|
0 |
-- telnet-bsd-1.2/telnetd/utility.c |
0 |
++ telnet-bsd-1.2/telnetd/utility.c |
Lines 897-913
Link Here
|
897 |
case ENV_VAR: |
897 |
case ENV_VAR: |
898 |
if (pointer[1] == TELQUAL_SEND) |
898 |
if (pointer[1] == TELQUAL_SEND) |
899 |
goto def_case; |
899 |
goto def_case; |
900 |
netoprintf("\" VAR " + noquote); |
900 |
netoprintf("%s", "\" VAR " + noquote); |
901 |
noquote = 2; |
901 |
noquote = 2; |
902 |
break; |
902 |
break; |
903 |
|
903 |
|
904 |
case ENV_VALUE: |
904 |
case ENV_VALUE: |
905 |
netoprintf("\" VALUE " + noquote); |
905 |
netoprintf("%s", "\" VALUE " + noquote); |
906 |
noquote = 2; |
906 |
noquote = 2; |
907 |
break; |
907 |
break; |
908 |
|
908 |
|
909 |
case ENV_ESC: |
909 |
case ENV_ESC: |
910 |
netoprintf("\" ESC " + noquote); |
910 |
netoprintf("%s", "\" ESC " + noquote); |
911 |
noquote = 2; |
911 |
noquote = 2; |
912 |
break; |
912 |
break; |
913 |
|
913 |
|
914 |
-- telnet-bsd-1.2/telnet/utilities.c |
914 |
++ telnet-bsd-1.2/telnet/utilities.c |
Lines 739-760
Link Here
|
739 |
case ENV_VAR: |
739 |
case ENV_VAR: |
740 |
if (pointer[1] == TELQUAL_SEND) |
740 |
if (pointer[1] == TELQUAL_SEND) |
741 |
goto def_case; |
741 |
goto def_case; |
742 |
fprintf(NetTrace, "\" VAR " + noquote); |
742 |
fprintf(NetTrace, "%s", "\" VAR " + noquote); |
743 |
noquote = 2; |
743 |
noquote = 2; |
744 |
break; |
744 |
break; |
745 |
|
745 |
|
746 |
case ENV_VALUE: |
746 |
case ENV_VALUE: |
747 |
fprintf(NetTrace, "\" VALUE " + noquote); |
747 |
fprintf(NetTrace, "%s", "\" VALUE " + noquote); |
748 |
noquote = 2; |
748 |
noquote = 2; |
749 |
break; |
749 |
break; |
750 |
|
750 |
|
751 |
case ENV_ESC: |
751 |
case ENV_ESC: |
752 |
fprintf(NetTrace, "\" ESC " + noquote); |
752 |
fprintf(NetTrace, "%s", "\" ESC " + noquote); |
753 |
noquote = 2; |
753 |
noquote = 2; |
754 |
break; |
754 |
break; |
755 |
|
755 |
|
756 |
case ENV_USERVAR: |
756 |
case ENV_USERVAR: |
757 |
fprintf(NetTrace, "\" USERVAR " + noquote); |
757 |
fprintf(NetTrace, "%s", "\" USERVAR " + noquote); |
758 |
noquote = 2; |
758 |
noquote = 2; |
759 |
break; |
759 |
break; |
760 |
|
760 |
|