[svn-commits] russell: branch 1.4 r72272 - in /branches/1.4: ./ pbx/pbx_config.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jun 27 16:08:35 CDT 2007
Author: russell
Date: Wed Jun 27 16:08:34 2007
New Revision: 72272
URL: http://svn.digium.com/view/asterisk?view=rev&rev=72272
Log:
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:
branches/1.4/ (props changed)
branches/1.4/pbx/pbx_config.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_config.c?view=diff&rev=72272&r1=72271&r2=72272
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Wed Jun 27 16:08:34 2007
@@ -2238,6 +2238,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