1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 02:14:51 +00:00

Correct stopping case

This commit is contained in:
Anthony Arnold 2015-05-15 19:59:21 +10:00
parent d912ea7500
commit 322a812447
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ rtl_tcp_signal_source_c::rtl_tcp_signal_source_c(const std::string &address,
return;
}
std::cout << "Connected to " << addr << ":" << port << std::endl;
LOG (WARNING) << "Connected to " << addr << ":" << port;
LOG (INFO) << "Connected to " << addr << ":" << port;
// 4. Set nodelay
socket_.set_option (tcp::no_delay (true), ec);

View File

@ -115,7 +115,7 @@ private:
}
inline bool not_empty ( ) const {
return unread_ > 0 && !io_service_.stopped ();
return unread_ > 0 || io_service_.stopped ();
}
};