We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9209c2a commit fcce8d2Copy full SHA for fcce8d2
src/rtpp_proc_ttl.c
@@ -80,14 +80,14 @@ static int
80
rtpp_proc_ttl_foreach(void *dp, void *ap)
81
{
82
const struct foreach_args *fap;
83
- struct rtpp_session *sp;
+ const struct rtpp_session *sp;
84
85
fap = (const struct foreach_args *)ap;
86
/*
87
* This method does not need us to bump ref, since we are in the
88
* locked context of the rtpp_hash_table, which holds its own ref.
89
*/
90
- sp = (struct rtpp_session *)dp;
+ sp = (const struct rtpp_session *)dp;
91
92
if (CALL_SMETHOD(sp->rtp, get_ttl) == 0) {
93
RTPP_LOG(sp->log, RTPP_LOG_INFO, "session timeout");
0 commit comments