Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #3241 from dscho/fix-fsmonitor-v2-segfault
Fix segmentation fault in the FSMonitor v2 series
  • Loading branch information
dscho committed May 28, 2021
2 parents 04f817b + a948a53 commit 1c253aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsmonitor-ipc.c
Expand Up @@ -53,7 +53,7 @@ int fsmonitor_ipc__send_query(const char *since_token,
switch (state) {
case IPC_STATE__LISTENING:
ret = ipc_client_send_command_to_connection(
connection, since_token, strlen(since_token), answer);
connection, since_token, since_token ? strlen(since_token) : 0, answer);
ipc_client_close_connection(connection);

trace2_data_intmax("fsm_client", NULL,
Expand Down

0 comments on commit 1c253aa

Please sign in to comment.