From: simon Date: Sun, 12 Jan 2003 14:49:44 +0000 (+0000) Subject: Just like under Windows, cleanup_exit() shouldn't need to check X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/e85da6a57672fc612e8e4a01f41a42593e3c2230?hp=86916870d36cb70e7ef0ea760e75a6ae8b2d83a5 Just like under Windows, cleanup_exit() shouldn't need to check before calling random_save_seed(). git-svn-id: svn://svn.tartarus.org/sgt/putty@2562 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxcons.c b/unix/uxcons.c index 579178c7..c172b0a3 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -25,10 +25,7 @@ void cleanup_exit(int code) * Clean up. */ sk_cleanup(); - - if (cfg.protocol == PROT_SSH) - random_save_seed(); - + random_save_seed(); exit(code); }