Skip to content
Snippets Groups Projects
Commit 23445d7b authored by deuce's avatar deuce
Browse files

Call exit_crypt() if appropriate.

parent dfdb1048
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
#include "syncterm.h"
#include "bbslist.h"
#include "conn.h"
#include "st_crypt.h"
#include "term.h"
#include "uifcinit.h"
#include "window.h"
......@@ -415,6 +416,9 @@ int main(int argc, char **argv)
else
FULLPATH(path,inpath,sizeof(path));
atexit(uifcbail);
#ifdef USE_CRYPTLIB
atexit(exit_crypt);
#endif
scrollback_buf=malloc(80*2*settings.backlines); /* Terminal width is *always* 80 cols */
if(scrollback_buf==NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment