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 46e39c6f..d506b664 100644 --- a/putty.h +++ b/putty.h @@ -132,7 +132,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; /* * Window handles for the dialog boxes that can be running during a