Skip to content

Commit

Permalink
event: fix crash
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Nov 30, 2024
1 parent 8645ff0 commit 3beeee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ static bool svc_timeout_filt(
addr2_str, sizeof(addr2_str), &svc->server_addr[1].sa);
LOG_BIN_F(
INFO, svc->id, svc->idlen,
"service_id[%zu] timeout: (%s, %s)", addr1_str,
addr2_str, svc->idlen);
"service_id[%zu] timeout: (%s, %s)", svc->idlen,
addr1_str, addr2_str);
}
free(svc);
return false;
Expand Down

0 comments on commit 3beeee4

Please sign in to comment.