diff --git a/plink.c b/plink.c index 9229fa8e..ed4f1345 100644 --- a/plink.c +++ b/plink.c @@ -291,8 +291,6 @@ int main(int argc, char **argv) continue; } else if (!strcmp(p, "-batch")) { console_batch_mode = 1; - } else if (!strcmp(p, "-log")) { - logfile = "putty.log"; } } else if (*p) { if (!*cfg.host) { diff --git a/putty.h b/putty.h index 67457be8..e7bb859a 100644 --- a/putty.h +++ b/putty.h @@ -141,7 +141,6 @@ GLOBAL unsigned char unitab_ctrl[256]; #define LGTYP_ASCII 1 /* logmode: pure ascii */ #define LGTYP_DEBUG 2 /* logmode: all chars of traffic */ #define LGTYP_PACKETS 3 /* logmode: SSH data packets */ -GLOBAL char *logfile; typedef enum { TS_AYT, TS_BRK, TS_SYNCH, TS_EC, TS_EL, TS_GA, TS_NOP, TS_ABORT,