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
1815987a
...
1815987ab11232cc11a538966be07dc51df00f87
authored
2007-07-09 17:34:11 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mail_mainloop): Use "%s" to properly pass command to util_do_command. Remove ca…
…ll to util_escape_percent
1 parent
9b34abab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
mail/mail.c
mail/mail.c
View file @
1815987
...
...
@@ -204,7 +204,7 @@ mail_cmdline (void *closure, int cont MU_ARG_UNUSED)
if
(
ml_got_interrupt
())
{
util_error
(
_
(
"Interrupt"
));
util_error
(
_
(
"Interrupt"
));
continue
;
}
...
...
@@ -530,9 +530,8 @@ mail_mainloop (char *(*input) (void *, int),
command
=
buf
;
len
=
strlen
(
command
);
}
util_escape_percent
(
&
command
);
cmd
=
util_stripwhite
(
command
);
util_do_command
(
cmd
);
util_do_command
(
"%s"
,
cmd
);
#ifdef WITH_READLINE
if
(
do_history
&&
!
(
isspace
(
cmd
[
0
])
||
cmd
[
0
]
==
'#'
))
add_history
(
cmd
);
...
...
Please
register
or
sign in
to post a comment