]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Disable logging completely if the user selects Cancel when told the
authorSimon Tatham <anakin@pobox.com>
Mon, 8 Jan 2001 16:24:13 +0000 (16:24 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 8 Jan 2001 16:24:13 +0000 (16:24 +0000)
file already exists

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

terminal.c

index e52db035cabab84992957b4cf87c2d3e5e068534..143693d876fb942d5ce9db5c38357078af14c7b3 100644 (file)
@@ -2268,6 +2268,7 @@ void logfopen(void) {
            writemod[0] = 'a';         /* set append mode */
        else if (i == 0) {             /* cancelled */
            lgfp = NULL;
+            cfg.logtype = 0;           /* disable logging */
            return;
        }
     }