[svn-commits] russell: trunk r72274 - in /trunk: ./ pbx/pbx_config.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 27 16:09:25 CDT 2007


Author: russell
Date: Wed Jun 27 16:09:24 2007
New Revision: 72274

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72274
Log:
Merged revisions 72272 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72272 | russell | 2007-06-27 16:08:34 -0500 (Wed, 27 Jun 2007) | 13 lines

Merged revisions 72267 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) | 5 lines

Fix a minor issue with parsing the priority number.  You could have as much
whitespace as you want around a numeric priority, but you couldn't have any
whitespace around a special priority like "n" or "hint".
(issue #10039, reported by mitheloc, fixed by me)

........

................

Modified:
    trunk/   (props changed)
    trunk/pbx/pbx_config.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_config.c?view=diff&rev=72274&r1=72273&r2=72274
==============================================================================
--- trunk/pbx/pbx_config.c (original)
+++ trunk/pbx/pbx_config.c Wed Jun 27 16:09:24 2007
@@ -1401,6 +1401,8 @@
 					pri = strsep(&stringp, ",");
 					if (!pri)
 						pri="";
+					pri = ast_skip_blanks(pri);
+					pri = ast_trim_blanks(pri);
 					label = strchr(pri, '(');
 					if (label) {
 						*label++ = '\0';




More information about the svn-commits mailing list