aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-20 18:14:51 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-20 18:14:51 +0200
commit0887d7e859605fad9617681695e70e3ef738a19c (patch)
tree0ac353c86a5315f2af18dd0d86fde6c51907b5c8 /lib
parent595606ca4ed3011af19c6d8a9f95519d84320120 (diff)
downloaddabmod-0887d7e859605fad9617681695e70e3ef738a19c.tar.gz
dabmod-0887d7e859605fad9617681695e70e3ef738a19c.tar.bz2
dabmod-0887d7e859605fad9617681695e70e3ef738a19c.zip
Add main loop RC metrics
Diffstat (limited to 'lib')
-rw-r--r--lib/Socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Socket.cpp b/lib/Socket.cpp
index 10ec1ca..b71c01e 100644
--- a/lib/Socket.cpp
+++ b/lib/Socket.cpp
@@ -893,7 +893,7 @@ ssize_t TCPClient::recv(void *buffer, size_t length, int flags, int timeout_ms)
return 0;
}
- return 0;
+ throw std::logic_error("unreachable");
}
void TCPClient::reconnect()