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
bea16f22
...
bea16f2256458ac86b3267edfe38ab4e9dac1117
authored
2000-06-14 04:34:16 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mbx_unixscan.c
send a notif for the last message.
1 parent
6049fc43
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
mailbox/mbx_unixscan.c
mailbox/mbx_unixscan.c
View file @
bea16f2
...
...
@@ -357,9 +357,6 @@ mailbox_unix_scan (mailbox_t mbox, size_t msgno, size_t *pcount)
mailbox_unix_ilock
(
mbox
,
MU_LOCKER_WRLOCK
);
mailbox_unix_lock
(
mbox
,
MU_LOCKER_RDLOCK
);
/*start at the beginning */
rewind
(
file
);
/* save the timestamp and size */
{
struct
stat
st
;
...
...
@@ -474,9 +471,9 @@ mailbox_unix_scan (mailbox_t mbox, size_t msgno, size_t *pcount)
if
(
mum
)
{
//mailbox_notification (mbox, MU_EVT_MBX_MSG_ADD);
mum
->
body_end
=
total
-
newline
;
mum
->
body_lines
=
lines
-
newline
;
DISPATCH_ADD_MSG
(
mbox
,
mud
,
file
);
}
fclose
(
file
);
mailbox_unix_iunlock
(
mbox
);
...
...
Please
register
or
sign in
to post a comment