Skip to content

Commit

Permalink
Fixed format specifier for tc->counter to %ld
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshmurthy committed Oct 5, 2023
1 parent 31ec160 commit d151852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router_core/modules/test_hooks/core_test_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ static void _do_send(test_client_t *tc)
assert(rc == 0);
++tc->counter;
--tc->credit;
qd_log(LOG_ROUTER_CORE, QD_LOG_DEBUG, "client test message sent id=%li credit=%i", tc->counter - 1,
qd_log(LOG_ROUTER_CORE, QD_LOG_DEBUG, "client test message sent id=%ld credit=%i", tc->counter - 1,
tc->credit);
}
}
Expand Down

0 comments on commit d151852

Please sign in to comment.