aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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?
{