aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-21 18:04:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-21 18:05:37 +0300
commit4c588fe671804cbfe6141af7336b8851678a543d (patch)
tree976c237727dd2ce716803eb94f284ffb4b6e11c4 /mod
parent0149adc0850e57a447cf656b6cdc4132dda8feb2 (diff)
Fix throwing io_error that doesn't compile if it inherits from std::exception
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-submit.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx
index c68b773..9a44a89 100644
--- a/mod/mod-submit.cxx
+++ b/mod/mod-submit.cxx
@@ -671,8 +671,7 @@ handle (request& rq, response& rs)
// Don't fail if the select() call was interrupted by the signal.
//
if (errno != EINTR)
- throw io_error ("select failed",
- error_code (errno, generic_category ()));
+ throw io_error ("select failed");
}
else if (r != 0) // Is data available?
{