From ff1fd0fa001f31fcf2a8de0d67d89ffcc7ceb320 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 7 Jun 2021 12:18:46 +0200 Subject: [PATCH] fixup! fsmonitor-ipc: create client routines for git-fsmonitor--daemon Another instance where `since_token` was expected to be non-`NULL`, but apparently it is quite possible, as demonstrated by Scalar's Functional Test suite. Signed-off-by: Johannes Schindelin --- fsmonitor-ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsmonitor-ipc.c b/fsmonitor-ipc.c index a629d34a11..47afb4709f 100644 --- a/fsmonitor-ipc.c +++ b/fsmonitor-ipc.c @@ -44,7 +44,7 @@ int fsmonitor_ipc__send_query(const char *since_token, trace2_region_enter("fsm_client", "query", NULL); trace2_data_string("fsm_client", NULL, "query/command", - since_token); + since_token ? since_token : "(null-token)"); try_again: state = ipc_client_try_connect(fsmonitor_ipc__get_path(), &options,