aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-05-31 13:51:11 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-07-31 13:24:07 -0400
commitf96c7c4d91f3c09d26658bc9c15aa561689fa2d4 (patch)
tree4fc6bff63eff752e4791ae3fb64de77b427afeee /src/httpserver.cpp
parent31d6b1d5f0414d8b356d8cb9c99961d8a04d6c0a (diff)
net: Split resolving out of CService
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r--src/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index be7a6a1dde..57aa134b38 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -614,7 +614,7 @@ CService HTTPRequest::GetPeer()
const char* address = "";
uint16_t port = 0;
evhttp_connection_get_peer(con, (char**)&address, &port);
- peer = CService(address, port);
+ LookupNumeric(address, peer, port);
}
return peer;
}