#include "url.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
+#include "xterm.h"
#include "lib/mem.h"
#include "lib/intl.h"
int version = 0;
int i;
int explicit_folder = 0;
- long sek;
extern char *optarg;
extern int optind;
/* initialize random number for tmp file creation */
- time (&sek);
- srand (sek);
+ srand ((unsigned int) time (NULL));
/* sanity check against stupid administrators */
if (infile || bodytext) {
if (infile) {
- if (safe_strcmp ("-", infile) == 0)
+ if (mutt_strcmp ("-", infile) == 0)
fin = stdin;
else {
char path[_POSIX_PATH_MAX];
M_READONLY : 0, NULL))
|| !explicit_folder) {
mutt_index_menu ();
+ if (option (OPTXTERMSETTITLES))
+ mutt_xterm_set_title (NONULL (XtermLeave));
if (Context)
FREE (&Context);
}