diff options
Diffstat (limited to 'dev/lib/net')
| -rw-r--r-- | dev/lib/net/modem.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/lib/net/modem.hpp b/dev/lib/net/modem.hpp index bcf2a79..074f182 100644 --- a/dev/lib/net/modem.hpp +++ b/dev/lib/net/modem.hpp @@ -35,7 +35,7 @@ namespace ocl::net const bool& bad{bad_}; explicit basic_modem() = default; - + virtual ~basic_modem() { this->destroy(); @@ -101,7 +101,7 @@ namespace ocl::net auto ret = ::send(fd_, out.data(), out.size(), 0); bad_ = !(ret >= 0L); - + return ret >= 0L; } |
