Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
resetius committed Dec 2, 2023
1 parent cc90c19 commit e73e62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TSimpleTask Client(Poller& poller, TAddress addr) {
auto lineReader = TLineReader<TSocket>(input, 1024, 1024);

try {
while (line = co_await lineReader.Read()) {
while ((line = co_await lineReader.Read())) {
while (inflight >= maxInflight) {
co_await poller.Sleep(std::chrono::milliseconds(0));
}
Expand Down

0 comments on commit e73e62b

Please sign in to comment.