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
873f12bf
...
873f12bf0c9d9533d0576d4d428f8064d98bb694
authored
2001-11-02 05:09:24 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
* messages/messages.c (messages_count): Argument should
be const.
1 parent
a4326d64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
ChangeLog
messages/messages.c
ChangeLog
View file @
873f12b
...
...
@@ -56,6 +56,9 @@
* mailbox/mbx_pop.c (_mailbox_pop_init): Remove the creation
of authority here, moved to _folder_imap_init().
* messages/messages.c (messages_count): Argument should
be const.
2001-11-01 Sergey Poznyakoff
* configure.in: Added check for utmp.h & utmpx.h
...
...
messages/messages.c
View file @
873f12b
...
...
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <argp.h>
static
int
messages_count
(
char
*
);
static
int
messages_count
(
c
onst
c
har
*
);
const
char
*
argp_program_version
=
"messages ("
PACKAGE
") "
VERSION
;
const
char
*
argp_program_bug_address
=
"<bug-mailutils@gnu.org>"
;
...
...
@@ -78,18 +78,15 @@ main (int argc, char **argv)
}
static
int
messages_count
(
char
*
box
)
messages_count
(
c
onst
c
har
*
box
)
{
mailbox_t
mbox
;
url_t
url
=
NULL
;
int
count
;
if
(
box
==
NULL
)
box
=
(
char
*
)
""
;
if
(
mailbox_create_default
(
&
mbox
,
box
)
!=
0
)
{
fprintf
(
stderr
,
"Couldn't create mailbox %s.
\n
"
,
box
);
fprintf
(
stderr
,
"Couldn't create mailbox %s.
\n
"
,
(
box
)
?
box
:
""
);
return
-
1
;
}
...
...
Please
register
or
sign in
to post a comment