From 4c588fe671804cbfe6141af7336b8851678a543d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 21 Aug 2018 18:04:08 +0300 Subject: Fix throwing io_error that doesn't compile if it inherits from std::exception --- mod/mod-submit.cxx | 3 +-- 1 file changed, 1 insertion(+), 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? { -- cgit v1.1