Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a075c5c4
Commit
a075c5c4
authored
Jan 28, 2014
by
Uwe Schulzweida
Browse files
streamClose: call streamCloseDelegate() only if filetype != -1
parent
3787be88
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream.c
View file @
a075c5c4
...
...
@@ -1159,7 +1159,7 @@ void streamClose(int streamID)
=
(
void
(
*
)(
stream_t
*
,
int
))
namespaceSwitchGet
(
NSSWITCH_STREAM_CLOSE_BACKEND
).
func
;
streamCloseDelegate
(
streamptr
,
1
);
if
(
streamptr
->
filetype
!=
-
1
)
streamCloseDelegate
(
streamptr
,
1
);
if
(
streamptr
->
record
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment