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
e92ab7d8
...
e92ab7d8e59cea3a5ccf653b955fbe65b7a86871
authored
2002-09-27 13:26:53 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor fixes.
1 parent
a14aceea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
mh/mhpath.c
mh/mhpath.c
View file @
e92ab7d
...
...
@@ -86,7 +86,7 @@ main (int argc, char **argv)
mailbox_messages_count
(
mbox
,
&
total
);
mailbox_get_url
(
mbox
,
&
url
);
mhdir
=
url_to_string
(
url
);
mhdir
=
(
char
*
)
url_to_string
(
url
);
if
(
strncmp
(
mhdir
,
"mh:"
,
3
)
==
0
)
mhdir
+=
3
;
...
...
@@ -113,14 +113,14 @@ main (int argc, char **argv)
mailbox_get_message
(
mbox
,
total
,
&
msg
);
mh_message_number
(
msg
,
&
num
);
printf
(
"%s/%lu
\n
"
,
mhdir
,
num
+
1
);
printf
(
"%s/%lu
\n
"
,
mhdir
,
(
unsigned
long
)(
num
+
1
)
);
exit
(
0
);
}
/* Mhpath expands and sorts the message list `msgs' and
writes the full pathnames of the messages to the standard
output separated by newlines. */
mh_msgset_parse
(
mbox
,
&
msgset
,
argc
-
index
,
argv
+
index
);
mh_msgset_parse
(
mbox
,
&
msgset
,
argc
-
index
,
argv
+
index
,
"cur"
);
status
=
mh_iterate
(
mbox
,
&
msgset
,
mhpath
,
mhdir
);
mailbox_close
(
mbox
);
mailbox_destroy
(
&
mbox
);
...
...
Please
register
or
sign in
to post a comment