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
76a92791
...
76a9279156af2881a5850bf7b33617d76b3a01c5
authored
2002-03-02 05:51:43 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Check return value of locker_lock().
1 parent
d1fd9ebc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
mailbox/mbx_mboxscan.c
mailbox/mbx_mboxscan.c
View file @
76a9279
...
...
@@ -574,7 +574,11 @@ mbox_scan0 (mailbox_t mailbox, size_t msgno, size_t *pcount, int do_notif)
return
status
;
}
locker_lock
(
mailbox
->
locker
);
if
((
status
=
locker_lock
(
mailbox
->
locker
)))
{
monitor_unlock
(
mailbox
->
monitor
);
return
status
;
}
/* Seek to the starting point. */
if
(
mud
->
umessages
&&
msgno
>
0
&&
mud
->
messages_count
>
0
...
...
Please
register
or
sign in
to post a comment