1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-22 14:39:24 -05: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 */ writemod[0] = 'a'; /* set append mode */
else if (i == 0) { /* cancelled */ else if (i == 0) { /* cancelled */
lgfp = NULL; lgfp = NULL;
cfg.logtype = 0; /* disable logging */
return; return;
} }
} }