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
c98fcdb8
...
c98fcdb87b2037746d23c061090848078b08ca30
authored
2003-01-22 13:18:31 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(pop3d_setio): Make sure both streams are line-buffered.
1 parent
b364760d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
pop3d/extra.c
pop3d/extra.c
View file @
c98fcdb
...
...
@@ -138,6 +138,8 @@ pop3d_setio (FILE *in, FILE *out)
if
(
!
in
||
!
out
)
pop3d_abquit
(
ERR_NO_OFILE
);
setvbuf
(
in
,
NULL
,
_IOLBF
,
0
);
setvbuf
(
out
,
NULL
,
_IOLBF
,
0
);
if
(
stdio_stream_create
(
&
istream
,
in
,
MU_STREAM_NO_CLOSE
)
||
stdio_stream_create
(
&
ostream
,
out
,
MU_STREAM_NO_CLOSE
))
pop3d_abquit
(
ERR_NO_OFILE
);
...
...
Please
register
or
sign in
to post a comment