X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.cpp;fp=serverpool.cpp;h=c77c30ef85c262084a0d92ad862da38a4717ceb5;hp=3159f33982b80b1f1116907a50539042648ee1f1;hb=94959e83930c70e3e91931e1fb1f9c0ec4a6f374;hpb=4934a0983fee26765a3c1a5b6bf5834ba6e7e52c diff --git a/serverpool.cpp b/serverpool.cpp index 3159f33..c77c30e 100644 --- a/serverpool.cpp +++ b/serverpool.cpp @@ -163,10 +163,10 @@ void ServerPool::add_data(int stream_index, const char *data, size_t bytes, Stre } } -void ServerPool::add_ping(const std::string &url, const std::string &allow_origin) +void ServerPool::add_gen204(const std::string &url, const std::string &allow_origin) { for (int i = 0; i < num_servers; ++i) { - servers[i].add_ping(url, allow_origin); + servers[i].add_gen204(url, allow_origin); } }