Ensure no spaces exist before "refresher=" when doing the comparison.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@219264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
a48d489568
commit
8a3f2fff91
|
@ -23155,7 +23155,8 @@ int parse_session_expires(const char *p_hdrval, int *const p_interval, enum st_r
|
|||
|
||||
if (!p_se_hdr)
|
||||
continue;
|
||||
|
||||
|
||||
p_se_hdr = ast_skip_blanks(p_se_hdr);
|
||||
ref_idx = strlen("refresher=");
|
||||
if (!strncasecmp(p_se_hdr, "refresher=", ref_idx)) {
|
||||
p_se_hdr += ref_idx;
|
||||
|
|
Loading…
Reference in New Issue