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
43c9a8a3
...
43c9a8a39b5cac3b7b52f2ffe905d554909f2d94
authored
2003-03-17 15:14:44 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(eval_body,mhl_format_run): MHL_DISABLE_BODY bit inhibits the 'body:' keyword.
1 parent
65e037ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
mh/mh_list.c
mh/mh_list.c
View file @
43c9a8a
...
...
@@ -375,7 +375,8 @@ mhl_format_destroy (list_t *fmt)
#define B_ADDRFIELD 9
#define B_DATEFIELD 10
#define B_DECODE 12
#define B_MAX 13
#define B_DISABLE_BODY 13
#define B_MAX 14
/* String variables */
#define S_OVERFLOWTEXT 0
...
...
@@ -667,6 +668,9 @@ eval_body (struct eval_env *env)
size_t
n
;
body_t
body
=
NULL
;
if
(
env
->
bvar
[
B_DISABLE_BODY
])
return
0
;
env
->
prefix
=
env
->
svar
[
S_COMPONENT
];
message_get_body
(
env
->
msg
,
&
body
);
...
...
@@ -809,6 +813,7 @@ mhl_format_run (list_t fmt,
env
.
bvar
[
B_CLEARSCREEN
]
=
flags
&
MHL_CLEARSCREEN
;
env
.
bvar
[
B_BELL
]
=
flags
&
MHL_BELL
;
env
.
bvar
[
B_DECODE
]
=
flags
&
MHL_DECODE
;
env
.
bvar
[
B_DISABLE_BODY
]
=
flags
&
MHL_DISABLE_BODY
;
env
.
pos
=
0
;
env
.
nlines
=
0
;
env
.
msg
=
msg
;
...
...
Please
register
or
sign in
to post a comment