mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Remove FLAG_SYNCAGENT.
This was the easiest flag to remove: nothing ever checks it at all! It was part of an abandoned early attempt to make Pageant requests asynchronous. The flag was added in commit135abf244
(April 2003); the code that used it was #ifdef-ed out in commit98d735fde
(January 2004), and removed completely in commitf864265e3
(January 2017). We now have an actually working system for async agent requests on Windows, via the new named-pipe IPC. And we also have a perfectly good way to force a particular agent request to work synchronously: just pass NULL as the callback function pointer. All of that works just fine, without ever using this flag. So begone!
This commit is contained in:
@ -1183,7 +1183,7 @@ void cleanup_exit(int code)
|
||||
exit(code);
|
||||
}
|
||||
|
||||
int flags = FLAG_SYNCAGENT;
|
||||
int flags = 0;
|
||||
|
||||
struct winpgnt_client {
|
||||
PageantListenerClient plc;
|
||||
|
Reference in New Issue
Block a user