From 6c8ad1db1e1f7e6d5e4d94580460d477f9958678 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 24 Oct 2022 21:13:45 +0000 Subject: [PATCH] main: Suggest to enable debug logging when address binding fails --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 0261e28..e737c38 100644 --- a/src/main.c +++ b/src/main.c @@ -535,7 +535,7 @@ int init_nvnc(struct wayvnc* self, const char* addr, uint16_t port, bool is_unix { self->nvnc = is_unix ? nvnc_open_unix(addr) : nvnc_open(addr, port); if (!self->nvnc) { - nvnc_log(NVNC_LOG_ERROR, "Failed to bind to address"); + nvnc_log(NVNC_LOG_ERROR, "Failed to bind to address. Add -Ldebug to the argument list for more info."); return -1; } if (is_unix)