8000 Fix BaseHTTPPeer::write strand thread context · github-cloud/rippled@8f5449d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f5449d

Browse files
miguelportillaseelabs
authored andcommitted
Fix BaseHTTPPeer::write strand thread context
1 parent 8c90ef8 commit 8f5449d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ripple/server/impl/BaseHTTPPeer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ write(
423423
return wq_.size() == 1 && wq2_.size() == 0;
424424
}())
425425
{
426-
if(strand_.running_in_this_thread())
426+
if(! strand_.running_in_this_thread())
427427
return strand_.post(std::bind(
428428
&BaseHTTPPeer::on_write,
429429
impl().shared_from_this(),

0 commit comments

Comments
 (0)
0