cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -350,7 +350,7 @@ inline Response get_plain(const char* host, const char* path,
|
||||
int reqLen = build_request(req, sizeof(req), "GET", host, path,
|
||||
nullptr, nullptr, 0, extra_headers);
|
||||
|
||||
int sock = montauk::socket(Montauk::SOCK_TCP);
|
||||
int sock = montauk::socket(montauk::abi::SOCK_TCP);
|
||||
if (sock < 0) return resp;
|
||||
if (montauk::connect(sock, ip, 80) < 0) { montauk::closesocket(sock); return resp; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user