aboutsummaryrefslogtreecommitdiffstats
path: root/src/PadInterface.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-06-09 08:38:55 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-06-09 08:38:55 +0200
commitad1a64d418557f23bb5632302b5975fade3d4939 (patch)
tree526bd80afe17260e96ec6fcbaa30ffb722b27e40 /src/PadInterface.cpp
parent9590c8b7651ab24b5d331ff2f37b5fa1566c5a81 (diff)
downloadODR-AudioEnc-ad1a64d418557f23bb5632302b5975fade3d4939.tar.gz
ODR-AudioEnc-ad1a64d418557f23bb5632302b5975fade3d4939.tar.bz2
ODR-AudioEnc-ad1a64d418557f23bb5632302b5975fade3d4939.zip
Fix error messages in PadInterface
Diffstat (limited to 'src/PadInterface.cpp')
-rw-r--r--src/PadInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PadInterface.cpp b/src/PadInterface.cpp
index 47b9bce..a8a129c 100644
--- a/src/PadInterface.cpp
+++ b/src/PadInterface.cpp
@@ -45,12 +45,12 @@ void PadInterface::open(const std::string& pad_ident)
int flags = fcntl(m_sock, F_GETFL);
if (flags == -1) {
std::string errstr(strerror(errno));
- throw std::runtime_error("TCP: Could not get socket flags: " + errstr);
+ throw std::runtime_error("PAD socket: Could not get socket flags: " + errstr);
}
if (fcntl(m_sock, F_SETFL, flags | O_NONBLOCK) == -1) {
std::string errstr(strerror(errno));
- throw std::runtime_error("TCP: Could not set O_NONBLOCK: " + errstr);
+ throw std::runtime_error("PAD socket: Could not set O_NONBLOCK: " + errstr);
}
struct sockaddr_un claddr;