Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
72eb486c
...
72eb486c6f5bee8534fc1542cc897c13f7ddfa4d
authored
2003-03-19 12:53:35 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_create_message_id): Minor change.
1 parent
5eaebe46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
mh/mh_init.c
mh/mh_init.c
View file @
72eb486
...
...
@@ -735,7 +735,7 @@ mh_draft_name ()
}
char
*
mh_create_message_id
(
int
m
)
mh_create_message_id
(
int
subpart
)
{
char
date
[
4
+
2
+
2
+
2
+
2
+
2
+
1
];
time_t
t
=
time
(
NULL
);
...
...
@@ -746,14 +746,14 @@ mh_create_message_id (int m)
strftime
(
date
,
sizeof
date
,
"%Y%m%d%H%M%S"
,
tm
);
mu_get_host_name
(
&
host
);
if
(
m
)
if
(
subpart
)
{
struct
timeval
tv
;
gettimeofday
(
&
tv
,
NULL
);
asprintf
(
&
p
,
"<%s.%lu.%
lu
@%s>"
,
asprintf
(
&
p
,
"<%s.%lu.%
d
@%s>"
,
date
,
(
unsigned
long
)
tv
.
tv_usec
,
(
unsigned
long
)
getpid
(),
subpart
,
host
);
}
else
...
...
Please
register
or
sign in
to post a comment