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
84938a40
...
84938a40c526d054a6bf4f12c5b11678d26b36b1
authored
2001-10-26 14:04:51 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use ml_readline()
1 parent
0ef502cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
mail/send.c
mail/send.c
View file @
84938a4
...
...
@@ -48,7 +48,7 @@ mail_send (int argc, char **argv)
env
.
outfiles
=
NULL
;
env
.
nfiles
=
0
;
if
(
argc
<
2
)
env
.
to
=
readline
((
char
*
)
"To: "
);
env
.
to
=
ml_
readline
((
char
*
)
"To: "
);
else
{
while
(
--
argc
)
...
...
@@ -75,12 +75,12 @@ mail_send (int argc, char **argv)
}
if
((
util_find_env
(
"askcc"
))
->
set
)
env
.
cc
=
readline
((
char
*
)
"Cc: "
);
env
.
cc
=
ml_
readline
((
char
*
)
"Cc: "
);
if
((
util_find_env
(
"askbcc"
))
->
set
)
env
.
bcc
=
readline
((
char
*
)
"Bcc: "
);
env
.
bcc
=
ml_
readline
((
char
*
)
"Bcc: "
);
if
((
util_find_env
(
"asksub"
))
->
set
)
env
.
subj
=
readline
((
char
*
)
"Subject: "
);
env
.
subj
=
ml_
readline
((
char
*
)
"Subject: "
);
else
env
.
subj
=
(
util_find_env
(
"subject"
))
->
value
;
...
...
@@ -155,7 +155,7 @@ mail_send0 (struct send_environ *env, int save_to)
while
(
!
done
)
{
char
*
buf
;
buf
=
readline
((
char
*
)
"
\b
"
);
buf
=
ml_
readline
((
char
*
)
"
\b
"
);
if
(
ml_got_interrupt
())
{
...
...
Please
register
or
sign in
to post a comment