From 76d5f397ff1c6992cc791b80cedc500f77e00978 Mon Sep 17 00:00:00 2001 From: Nils Sauer Date: Wed, 5 Apr 2023 16:24:08 +0200 Subject: [PATCH] Removed misleading HTTP reference --- Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.cpp b/Client.cpp index a32a97a..c0a42b4 100644 --- a/Client.cpp +++ b/Client.cpp @@ -58,7 +58,7 @@ Client::Client(const std::string& addr, unsigned port) { # ifdef HAS_ADDRINFO // Connect to server if (connect(*connection, addrInfo->ai_addr, addrInfo->ai_addrlen) != 0) [[unlikely]] { - throw Exception("Connection for HTTP::Request has been declined"); + throw Exception("Connection has been refused"); } # else // Connect to server