diff options
Diffstat (limited to 'channels/sip')
-rw-r--r-- | channels/sip/security_events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sip/security_events.c b/channels/sip/security_events.c index 28a14f8a5..691c5bde1 100644 --- a/channels/sip/security_events.c +++ b/channels/sip/security_events.c @@ -311,7 +311,7 @@ int sip_report_security_event(const struct sip_pvt *p, const struct sip_request authtoken = sip_get_header(req, reqheader); buf = ast_str_thread_get(&check_auth_buf, CHECK_AUTH_BUF_INITLEN); ast_str_set(&buf, 0, "%s", authtoken); - c = buf->str; + c = ast_str_buffer(buf); sip_digest_parser(c, keys); |