Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
4145ed2a
Commit
4145ed2a
authored
Dec 08, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Fix assertion trying to assign to expression.
It triggers an error in the Android build.
parent
c88ded0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/response_part.h
View file @
4145ed2a
...
...
@@ -40,7 +40,7 @@ namespace detail {
sys
::
error_code
ec
;
async_write_c
(
p
,
s
,
tc
,
y
[
ec
]);
if
(
tc
&&
!
c
)
ec
=
asio
::
error
::
timed_out
;
assert
(
!
c
||
ec
=
asio
::
error
::
operation_aborted
);
assert
(
!
c
||
ec
=
=
asio
::
error
::
operation_aborted
);
return
or_throw
(
y
,
ec
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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