From b6920372c23fe79a61855c65511c4807b96a7f2e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 29 Sep 2016 16:47:19 +0200 Subject: [PATCH] ipc: log when listening to IPC socket Fixes #3598. --- input/ipc-unix.c | 2 ++ input/ipc-win.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/input/ipc-unix.c b/input/ipc-unix.c index b0400496ff..e4b98edfc9 100644 --- a/input/ipc-unix.c +++ b/input/ipc-unix.c @@ -339,6 +339,8 @@ static void *ipc_thread(void *p) goto done; } + MP_VERBOSE(arg, "Listening to IPC socket.\n"); + int client_num = 0; struct pollfd fds[2] = { diff --git a/input/ipc-win.c b/input/ipc-win.c index 94f5199bf1..6908683d8d 100644 --- a/input/ipc-win.c +++ b/input/ipc-win.c @@ -377,6 +377,8 @@ static void *ipc_thread(void *p) goto done; } + MP_VERBOSE(arg, "Listening to IPC pipe.\n"); + while (1) { DWORD err = ConnectNamedPipe(server, &ol) ? 0 : GetLastError();