"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "autocrypt/autocrypt.c" between
mutt-1.13.2.tar.gz and mutt-1.13.3.tar.gz

About: mutt is a small but powerful text-based mail client.

autocrypt.c  (mutt-1.13.2):autocrypt.c  (mutt-1.13.3)
skipping to change at line 83 skipping to change at line 83
int mutt_autocrypt_init (int can_create) int mutt_autocrypt_init (int can_create)
{ {
if (AutocryptDB) if (AutocryptDB)
return 0; return 0;
if (!option (OPTAUTOCRYPT) || !AutocryptDir) if (!option (OPTAUTOCRYPT) || !AutocryptDir)
return -1; return -1;
set_option (OPTIGNOREMACROEVENTS); set_option (OPTIGNOREMACROEVENTS);
/* The init process can display menus at various points
* (e.g. browser, pgp key selection). This allows the screen to be
* autocleared after each menu, so the subsequent prompts can be
* read. */
set_option (OPTMENUPOPCLEARSCREEN);
if (autocrypt_dir_init (can_create)) if (autocrypt_dir_init (can_create))
goto bail; goto bail;
if (mutt_autocrypt_gpgme_init ()) if (mutt_autocrypt_gpgme_init ())
goto bail; goto bail;
if (mutt_autocrypt_db_init (can_create)) if (mutt_autocrypt_db_init (can_create))
goto bail; goto bail;
unset_option (OPTIGNOREMACROEVENTS); unset_option (OPTIGNOREMACROEVENTS);
unset_option (OPTMENUPOPCLEARSCREEN);
return 0; return 0;
bail: bail:
unset_option (OPTIGNOREMACROEVENTS); unset_option (OPTIGNOREMACROEVENTS);
unset_option (OPTMENUPOPCLEARSCREEN);
unset_option (OPTAUTOCRYPT); unset_option (OPTAUTOCRYPT);
mutt_autocrypt_db_close (); mutt_autocrypt_db_close ();
return -1; return -1;
} }
void mutt_autocrypt_cleanup (void) void mutt_autocrypt_cleanup (void)
{ {
mutt_autocrypt_db_close (); mutt_autocrypt_db_close ();
} }
 End of changes. 3 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)