event/BufferedSocket: pass std::exception_ptr to OnSocketError()

This commit is contained in:
Max Kellermann
2016-11-02 10:38:05 +01:00
parent c8bb3c0b71
commit e2b7c30811
7 changed files with 13 additions and 25 deletions

View File

@@ -474,9 +474,9 @@ HttpdClient::OnSocketInput(void *data, size_t length)
}
void
HttpdClient::OnSocketError(Error &&error)
HttpdClient::OnSocketError(std::exception_ptr ep)
{
LogError(error);
LogError(ep);
}
void