Skip to content

Commit

Permalink
call: use sip_msg getter to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Dec 9, 2024
1 parent d0402b3 commit 1a5e9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -2299,7 +2299,7 @@ bool call_sess_cmp(const struct call *call, const struct sip_msg *msg)
if (!call || !msg)
return false;

return sipsess_msg_equal(call->sess, msg);
return sipsess_msg(call->sess) == msg;
}


Expand Down

0 comments on commit 1a5e9e5

Please sign in to comment.