summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/net
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-08-27 16:38:47 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-08-27 16:38:47 +0200
commit346a7af8b1774ab085114aa3573fbf400683552d (patch)
tree2516483cb165e18d6bccbd8fb5ca7758dd802845 /dev/lib/net
parent7ea0c074329dd55de43ea3b07ff545228cb0d729 (diff)
feat: core: introduce `error_handler` container.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/net')
-rw-r--r--dev/lib/net/modem.hpp4
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;
}