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
87946819
...
8794681987c10004c28c5b005869238c2ef1bcb8
authored
2003-02-14 16:11:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_real_install): Create inbox
1 parent
8fc4da4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
mh/mh_init.c
mh/mh_init.c
View file @
8794681
...
...
@@ -662,7 +662,7 @@ _env_msg_date (envelope_t envelope, char *buf, size_t len, size_t *pnwrite)
static
int
_env_msg_sender
(
envelope_t
envelope
,
char
*
buf
,
size_t
len
,
size_t
*
pnwrite
)
{
{
message_t
msg
=
envelope_get_owner
(
envelope
);
struct
msg_envelope
*
env
=
message_get_owner
(
msg
);
...
...
@@ -671,7 +671,7 @@ _env_msg_sender (envelope_t envelope, char *buf, size_t len, size_t *pnwrite)
strncpy
(
buf
,
env
->
from
,
len
);
buf
[
len
-
1
]
=
0
;
return
0
;
}
}
message_t
mh_stream_to_message
(
stream_t
instream
)
...
...
@@ -811,8 +811,11 @@ mh_real_install (char *name, int automode)
fclose
(
fp
);
}
free
(
ctx
);
asprintf
(
&
ctx
,
"%s/inbox"
,
mhdir
);
if
(
mh_check_folder
(
ctx
,
!
automode
))
exit
(
1
);
free
(
ctx
);
free
(
mhdir
);
/* FIXME: create inbox? */
}
void
...
...
Please
register
or
sign in
to post a comment