`ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one
[u/mdw/putty] / unix / uxcons.c
index 579178c..c172b0a 100644 (file)
@@ -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);
 }