Skip to content

Commit 588e88d

Browse files
authored
Merge pull request #3258 from dscho/fix-another-fsmonitor-segfault
FSMonitor v2: fix another fall-out of `since_token` being potentially `NULL`
2 parents 879d1d0 + ff1fd0f commit 588e88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsmonitor-ipc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int fsmonitor_ipc__send_query(const char *since_token,
4444
trace2_region_enter("fsm_client", "query", NULL);
4545

4646
trace2_data_string("fsm_client", NULL, "query/command",
47-
since_token);
47+
since_token ? since_token : "(null-token)");
4848

4949
try_again:
5050
state = ipc_client_try_connect(fsmonitor_ipc__get_path(), &options,

0 commit comments

Comments
 (0)