Merged revisions 219264 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r219264 | file | 2009-09-17 14:57:39 -0500 (Thu, 17 Sep 2009) | 2 lines
  
  Ensure no spaces exist before "refresher=" when doing the comparison.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@219265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2009-09-17 19:58:13 +00:00
parent 44cc22ffbe
commit 73be2486f0

View File

@@ -20166,7 +20166,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;