projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4dc555a
)
Nico Golde:
author
nion
<nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 31 May 2005 14:14:35 +0000
(14:14 +0000)
committer
nion
<nion@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 31 May 2005 14:14:35 +0000
(14:14 +0000)
- increased tmp file name hex string to 64 bit
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@308
e385b8ad
-14ed-0310-8656-
cc95a2468c6d
muttlib.c
patch
|
blob
|
history
diff --git
a/muttlib.c
b/muttlib.c
index
f4b5e27
..
27b73f2
100644
(file)
--- a/
muttlib.c
+++ b/
muttlib.c
@@
-648,9
+648,9
@@
void mutt_free_envelope (ENVELOPE ** p)
void _mutt_mktemp (char *s, const char *src, int line)
{
- snprintf (s, _POSIX_PATH_MAX, "%s/muttng-%s-%d-%d-%d-%x", NONULL (Tempdir),
+ snprintf (s, _POSIX_PATH_MAX, "%s/muttng-%s-%d-%d-%d-%x
%x
", NONULL (Tempdir),
NONULL (Hostname), (int) getuid (), (int) getpid (), Counter++,
- (unsigned int) rand());
+ (unsigned int) rand()
, (unsigned int) rand()
);
debug_print (1, ("%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
unlink (s);
}