Skip to content

Commit

Permalink
Bugfix: Do not forget to flush the destination stream in ascii_ostrea…
Browse files Browse the repository at this point in the history
…m::flush()
  • Loading branch information
deniskovalchuk committed Jul 20, 2023
1 parent c7bc80e commit 6b2ac47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ftp/stream/ascii_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void ascii_ostream::flush()
dst_.write(&buf, 1);
prev_cr_ = false;
}

dst_.flush();
}

} // namespace ftp

0 comments on commit 6b2ac47

Please sign in to comment.