[asterisk-commits] file: trunk r219264 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 17 14:57:43 CDT 2009


Author: file
Date: Thu Sep 17 14:57:39 2009
New Revision: 219264

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=219264
Log:
Ensure no spaces exist before "refresher=" when doing the comparison.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=219264&r1=219263&r2=219264
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Sep 17 14:57:39 2009
@@ -23155,7 +23155,8 @@
 
 		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;




More information about the asterisk-commits mailing list