mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 21:15:03 -05:00
Remove "-log" option from Plink. AFAICT this code has been dead since Roman
Pompejus' improved logging (Jan 2001). [originally from svn r2000]
This commit is contained in:
parent
01e1450870
commit
8d5f7e293e
2
plink.c
2
plink.c
@ -291,8 +291,6 @@ int main(int argc, char **argv)
|
|||||||
continue;
|
continue;
|
||||||
} else if (!strcmp(p, "-batch")) {
|
} else if (!strcmp(p, "-batch")) {
|
||||||
console_batch_mode = 1;
|
console_batch_mode = 1;
|
||||||
} else if (!strcmp(p, "-log")) {
|
|
||||||
logfile = "putty.log";
|
|
||||||
}
|
}
|
||||||
} else if (*p) {
|
} else if (*p) {
|
||||||
if (!*cfg.host) {
|
if (!*cfg.host) {
|
||||||
|
1
putty.h
1
putty.h
@ -141,7 +141,6 @@ GLOBAL unsigned char unitab_ctrl[256];
|
|||||||
#define LGTYP_ASCII 1 /* logmode: pure ascii */
|
#define LGTYP_ASCII 1 /* logmode: pure ascii */
|
||||||
#define LGTYP_DEBUG 2 /* logmode: all chars of traffic */
|
#define LGTYP_DEBUG 2 /* logmode: all chars of traffic */
|
||||||
#define LGTYP_PACKETS 3 /* logmode: SSH data packets */
|
#define LGTYP_PACKETS 3 /* logmode: SSH data packets */
|
||||||
GLOBAL char *logfile;
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT,
|
TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user