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
79436259
...
79436259b62fae7b2ae3b247d2e50832795a8cf9
authored
2005-07-26 06:25:06 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(page_move): Fix start msg calculation
1 parent
e1384d33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
mail/page.c
mail/page.c
View file @
7943625
...
...
@@ -183,12 +183,10 @@ page_move (off_t offset)
check_page_map
();
if
(
offset
>
0
)
start
=
page_map
[
cursor
]
+
offset
;
else
if
(
-
offset
>
page_map
[
cursor
])
if
(
offset
<
0
&&
-
offset
>
page_map
[
0
])
start
=
1
;
else
start
=
page_map
[
cursor
]
+
offset
;
start
=
page_map
[
0
]
+
offset
;
util_range_msg
(
start
,
page_size
,
MSG_COUNT
|
MSG_NODELETED
|
MSG_SILENT
,
_fill_map
,
&
count
);
...
...
Please
register
or
sign in
to post a comment