From 3bee0318674ec5e7ed79e31e62a68f1719df1ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 10 Mar 2020 18:02:57 +0100 Subject: [PATCH] client: log path we actually tried to connect to (and failed) --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index daa0e252..faa7c919 100644 --- a/client.c +++ b/client.c @@ -145,7 +145,7 @@ main(int argc, char *const *argv) if (connect(fd, (const struct sockaddr *)&addr, sizeof(addr)) == 0) connected = true; else - LOG_WARN("%s/foot.sock: failed to connect, will now try /tmp/foot.sock", xdg_runtime); + LOG_WARN("%s: failed to connect, will now try /tmp/foot.sock", addr.sun_path); } if (!connected) {