From: Michael Wallner Date: Mon, 13 Jan 2020 13:24:44 +0000 (+0100) Subject: memcapable: fix logic error X-Git-Tag: pre_cmake~50 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d61d9f95bb372c0691ece9632382c62c7b3c1b46;p=awesomized%2Flibmemcached memcapable: fix logic error --- diff --git a/clients/memcapable.cc b/clients/memcapable.cc index fc956fe0..31c2fc54 100644 --- a/clients/memcapable.cc +++ b/clients/memcapable.cc @@ -2148,7 +2148,7 @@ int main(int argc, char **argv) } } - if (hostname) + if (!hostname) { fprintf(stderr, "No hostname was provided.\n"); return EXIT_FAILURE;