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:
parent
609593e119
commit
48b368d3ed
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user