aboutsummaryrefslogtreecommitdiffstats
path: root/unix/tx/TXDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tx/TXDialog.h')
-rw-r--r--unix/tx/TXDialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tx/TXDialog.h b/unix/tx/TXDialog.h
index c663ffae..6533377f 100644
--- a/unix/tx/TXDialog.h
+++ b/unix/tx/TXDialog.h
@@ -65,7 +65,7 @@ public:
FD_ZERO(&rfds);
FD_SET(ConnectionNumber(dpy), &rfds);
int n = select(FD_SETSIZE, &rfds, nullptr, nullptr, nullptr);
- if (n < 0) throw rdr::SocketException("select", errno);
+ if (n < 0) throw rdr::socket_error("select", errno);
}
}
return true;