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
b3f65f77
...
b3f65f770a632e6de16d9f79ccdff3fd38efb3f5
authored
2007-02-13 10:44:14 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mail_pipe): Fix handling of cmd variable and command argument.
1 parent
ca1d948c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mail/pipe.c
mail/pipe.c
View file @
b3f65f7
...
...
@@ -35,9 +35,9 @@ mail_pipe (int argc, char **argv)
off_t
off
=
0
;
size_t
n
=
0
;
if
(
argc
>
1
)
if
(
argc
>
2
)
cmd
=
argv
[
--
argc
];
else
if
(
util_getenv
(
&
cmd
,
"cmd"
,
Mail_env_
boolean
,
1
))
else
if
(
util_getenv
(
&
cmd
,
"cmd"
,
Mail_env_
string
,
1
))
return
1
;
if
(
msgset_parse
(
argc
,
argv
,
MSG_NODELETED
|
MSG_SILENT
,
&
list
))
...
...
Please
register
or
sign in
to post a comment