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
32bd2179
...
32bd21793007851d5a5c514ca972e2fe2af1d3f1
authored
2005-03-03 23:31:54 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mail_print_msg): Set MAIL_ATTRIBUTE_SHOWN after displaying the message
1 parent
44499877
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
mail/print.c
mail/print.c
View file @
32bd217
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2005
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -36,7 +36,7 @@ mail_print_msg (msgset_t *mspec, message_t mesg, void *data)
FILE
*
out
=
ofile
;
attribute_t
attr
;
int
pagelines
=
util_get_crt
();
message_lines
(
mesg
,
&
lines
);
/* If it is POP or IMAP the lines number is not known, so try
...
...
@@ -105,6 +105,7 @@ mail_print_msg (msgset_t *mspec, message_t mesg, void *data)
message_get_attribute
(
mesg
,
&
attr
);
attribute_set_read
(
attr
);
attribute_set_userflag
(
attr
,
MAIL_ATTRIBUTE_SHOWN
);
cursor
=
mspec
->
msg_part
[
0
];
...
...
Please
register
or
sign in
to post a comment