- fixed random hex creation if mail will be written from command line
- corrected mistake in manual & update legal notes
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@320
e385b8ad-14ed-0310-8656-
cc95a2468c6d
.PP
.B muttng_dotlock
is part of the Mutt-ng mail user agent package. It has been
-created to avoid running mutt with group mail privileges.
+created to avoid running Mutt-ng with group mail privileges.
.SH AUTHOR
-Thomas Roessler <roessler@guug.de>
+Thomas Roessler <roessler@guug.de>, Nico Golde <nion@muttng.or>>
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);
+
/* sanity check against stupid administrators */
-
+
if (getegid () != getgid ()) {
fprintf (stderr, "%s: I don't want to run with privileges!\n", argv[0]);
exit (1);