]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 219264 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 17 Sep 2009 19:58:13 +0000 (19:58 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 17 Sep 2009 19:58:13 +0000 (19:58 +0000)
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

channels/chan_sip.c

index f5fb3881a4973afa688cc2bfa8b07d31394f6b41..f5d4807fb49cdb8c683ef95f3172e663b0f57541 100644 (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;