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
caa977bf
...
caa977bf1591e9e56b91ea2cfbc6f5fe55207f99
authored
2003-01-18 15:01:01 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Open stdio stream with MU_STREAM_SEEKABLE bit set.
1 parent
ec07a37e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
examples/msg-send.c
mail.remote/mail.remote.c
examples/msg-send.c
View file @
caa977b
...
...
@@ -114,7 +114,7 @@ main (int argc, char *argv[])
C
(
address_createv
(
&
to
,
(
const
char
**
)
av
,
-
1
));
}
C
(
stdio_stream_create
(
&
in
,
stdin
,
0
));
C
(
stdio_stream_create
(
&
in
,
stdin
,
MU_STREAM_SEEKABLE
));
C
(
stream_open
(
in
));
C
(
message_create
(
&
msg
,
NULL
));
C
(
message_set_stream
(
msg
,
in
,
NULL
));
...
...
mail.remote/mail.remote.c
View file @
caa977b
...
...
@@ -166,7 +166,7 @@ main (int argc, char **argv)
}
}
if
((
status
=
stdio_stream_create
(
&
in
,
stdin
,
0
)))
if
((
status
=
stdio_stream_create
(
&
in
,
stdin
,
MU_STREAM_SEEKABLE
)))
{
fprintf
(
stderr
,
_
(
"Failed: %s
\n
"
),
mu_errstring
(
status
));
goto
end
;
...
...
Please
register
or
sign in
to post a comment