aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-09-05 03:49:32 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-09-05 03:50:14 +0200
commit6f5ef30293c3a31d86e2ba6bec7ae0d8ef9cafc8 (patch)
treec96f945ac4b91e9073b8f3b795751e396290b888
parentb7b1198be76e46c6e151a4092ba101c9c0a33693 (diff)
downloadjson-rpc-shell-6f5ef30293c3a31d86e2ba6bec7ae0d8ef9cafc8.tar.gz
json-rpc-shell-6f5ef30293c3a31d86e2ba6bec7ae0d8ef9cafc8.tar.xz
json-rpc-shell-6f5ef30293c3a31d86e2ba6bec7ae0d8ef9cafc8.zip
Move "connecting..." messages to the debug mode
So that the --verbose option does only one thing.
-rw-r--r--json-rpc-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index 8f1e147..dcd0a5e 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -1683,7 +1683,7 @@ backend_ws_establish_connection (struct ws_context *self,
else
real_host = buf;
- if (self->ctx->verbose)
+ if (g_debug_mode)
{
char *address = format_host_port_pair (real_host, port);
print_status ("connecting to %s...", address);