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
a1c387de
...
a1c387de06771ef31448977e81616e987382b64a
authored
2001-08-06 15:44:05 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
* messages/messages.c: Also include pop_record
amd imap_record.
1 parent
b35a39df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
messages/messages.c
messages/messages.c
View file @
a1c387d
...
...
@@ -62,6 +62,8 @@ main (int argc, char **argv)
registrar_get_list
(
&
bookie
);
list_append
(
bookie
,
path_record
);
list_append
(
bookie
,
imap_record
);
list_append
(
bookie
,
pop_record
);
if
(
args
.
argc
<
1
&&
messages_count
(
getenv
(
"MAIL"
))
<
0
)
err
=
1
;
...
...
@@ -96,12 +98,12 @@ messages_count (char *box)
fprintf
(
stderr
,
"Couldn't count messages in %s.
\n
"
,
box
);
return
-
1
;
}
if
(
silent
)
printf
(
"%d
\n
"
,
count
);
else
printf
(
"Number of messages in %s: %d
\n
"
,
box
,
count
);
if
(
mailbox_close
(
mbox
)
!=
0
)
{
fprintf
(
stderr
,
"Couldn't close %s.
\n
"
,
box
);
...
...
Please
register
or
sign in
to post a comment