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
447719f6
...
447719f64f327cb136b835b318294c23ebe0f16c
authored
2017-01-17 16:23:59 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove unnecessary mu_message_t flag (MESSAGE_MIME_OWNER)
1 parent
206b664a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
5 deletions
include/mailutils/sys/message.h
libmailutils/mailbox/msgmulti.c
libmailutils/mime/mime.c
include/mailutils/sys/message.h
View file @
447719f
...
...
@@ -32,7 +32,6 @@ extern "C" {
#define MESSAGE_MODIFIED 0x10000
#define MESSAGE_INTERNAL_STREAM 0x20000
#define MESSAGE_MIME_OWNER 0x40000
struct
_mu_message
{
...
...
libmailutils/mailbox/msgmulti.c
View file @
447719f
...
...
@@ -36,9 +36,8 @@ mu_message_is_multipart (mu_message_t msg, int *pmulti)
int
status
=
mu_mime_create
(
&
msg
->
mime
,
msg
,
0
);
if
(
status
!=
0
)
return
0
;
msg
->
flags
|=
MESSAGE_MIME_OWNER
;
}
*
pmulti
=
mu_mime_is_multipart
(
msg
->
mime
);
*
pmulti
=
mu_mime_is_multipart
(
msg
->
mime
);
}
return
0
;
}
...
...
libmailutils/mime/mime.c
View file @
447719f
...
...
@@ -1074,7 +1074,6 @@ mu_mime_get_num_parts (mu_mime_t mime, size_t *nmtp_parts)
}
*
nmtp_parts
=
mime
->
nmtp_parts
;
return
(
ret
);
}
int
...
...
@@ -1149,7 +1148,6 @@ mu_mime_to_message (mu_mime_t mime, mu_message_t *pmsg)
if
(
rc
==
0
)
{
mu_message_unref
(
msg
);
msg
->
flags
|=
MESSAGE_MIME_OWNER
;
mime
->
msg
=
NULL
;
mu_mime_ref
(
mime
);
*
pmsg
=
msg
;
...
...
Please
register
or
sign in
to post a comment