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
6b79f92f
...
6b79f92fb402e9672dcc872cb593bb6bbdab1768
authored
2001-06-26 14:02:23 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
use util_screen_lines().
1 parent
45834834
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
mail/headers.c
mail/headers.c
View file @
6b79f92
...
...
@@ -29,9 +29,8 @@
int
mail_headers
(
int
argc
,
char
**
argv
)
{
char
buf
[
64
];
int
low
=
1
,
high
=
total
,
*
list
=
NULL
,
i
=
0
;
int
lines
=
util_
get
lines
();
int
lines
=
util_
screen_
lines
();
int
num
=
util_expand_msglist
(
argc
,
argv
,
&
list
);
lines
=
(
lines
/
num
)
-
2
;
...
...
@@ -51,9 +50,7 @@ mail_headers (int argc, char **argv)
}
}
memset
(
buf
,
'\0'
,
64
);
snprintf
(
buf
,
64
,
"from %d-%d"
,
low
,
high
);
util_do_command
(
buf
);
util_do_command
(
"from %d-%d"
,
low
,
high
);
}
free
(
list
);
...
...
Please
register
or
sign in
to post a comment