Remove "-log" option from Plink. AFAICT this code has been dead since Roman
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 7 Oct 2002 17:43:07 +0000 (17:43 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 7 Oct 2002 17:43:07 +0000 (17:43 +0000)
Pompejus' improved logging (Jan 2001).

git-svn-id: svn://svn.tartarus.org/sgt/putty@2000 cda61777-01e9-0310-a592-d414129be87e

plink.c
putty.h

diff --git a/plink.c b/plink.c
index 9229fa8..ed4f134 100644 (file)
--- 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 67457be..e7bb859 100644 (file)
--- 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,