From d61d9f95bb372c0691ece9632382c62c7b3c1b46 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 13 Jan 2020 14:24:44 +0100 Subject: [PATCH] memcapable: fix logic error --- clients/memcapable.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2