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