X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver.h;h=fa5240569f8531020d590b8fa757260474ff5980;hb=99332db60646cb1b06a61d1636eddbbf0b5d0b40;hp=f27ce08f7455066598b6ac333b7eef079cdcc1a9;hpb=23dca174eef8d846e3d4402729b57f6ded035e64;p=awesomized%2Flibmemcached diff --git a/libtest/server.h b/libtest/server.h index f27ce08f..fa524056 100644 --- a/libtest/server.h +++ b/libtest/server.h @@ -232,7 +232,7 @@ public: bool is_socket() const { - return _hostname[0] == '/'; + return _is_socket; } const std::string running() const @@ -281,5 +281,3 @@ private: std::ostream& operator<<(std::ostream& output, const libtest::Server &arg); } // namespace libtest - -