From: jacob Date: Mon, 7 Oct 2002 17:43:07 +0000 (+0000) Subject: Remove "-log" option from Plink. AFAICT this code has been dead since Roman X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/181a7e4b8e98f7fbd15b0998b9d26f8e5fc2e353 Remove "-log" option from Plink. AFAICT this code has been dead since Roman Pompejus' improved logging (Jan 2001). git-svn-id: svn://svn.tartarus.org/sgt/putty@2000 cda61777-01e9-0310-a592-d414129be87e --- 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,