1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Disable logging completely if the user selects Cancel when told the

file already exists

[originally from svn r851]
This commit is contained in:
Simon Tatham 2001-01-08 16:24:13 +00:00
parent 609593e119
commit 48b368d3ed

View 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;
}
}