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
495b8209
...
495b82090be28e7b1a2904a3346776576dcab0d1
authored
2011-08-28 23:58:42 +0300
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor fix.
* libmailutils/stream/fltstream.c: Implement shutdown method.
1 parent
ab2982d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
libmailutils/stream/fltstream.c
libmailutils/stream/fltstream.c
View file @
495b820
...
...
@@ -446,6 +446,13 @@ filter_ctl (struct _mu_stream *stream, int code, int opcode, void *ptr)
return
0
;
}
static
int
filter_shutdown
(
struct
_mu_stream
*
str
,
int
how
)
{
struct
_mu_filter_stream
*
fs
=
(
struct
_mu_filter_stream
*
)
str
;
return
mu_stream_shutdown
(
fs
->
transport
,
how
);
}
static
const
char
*
filter_error_string
(
struct
_mu_stream
*
stream
,
int
rc
)
{
...
...
@@ -576,6 +583,7 @@ mu_filter_stream_create (mu_stream_t *pflt,
fs
->
stream
.
done
=
filter_done
;
if
(
flags
&
MU_STREAM_SEEK
)
fs
->
stream
.
seek
=
filter_seek
;
fs
->
stream
.
shutdown
=
filter_shutdown
;
fs
->
stream
.
ctl
=
filter_ctl
;
fs
->
stream
.
wait
=
filter_wait
;
fs
->
stream
.
error_string
=
filter_error_string
;
...
...
Please
register
or
sign in
to post a comment