[svn-commits] dvossel: branch 1.6.2 r272015 - in /branches/1.6.2: ./ pbx/pbx_config.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 22 17:14:19 CDT 2010


Author: dvossel
Date: Tue Jun 22 17:14:15 2010
New Revision: 272015

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=272015
Log:
Merged revisions 272014 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r272014 | dvossel | 2010-06-22 17:11:50 -0500 (Tue, 22 Jun 2010) | 5 lines
  
  fixes issue with 'dialplan remove extension blah' segfaulting with tab completion
  
  (closes issue #17440)
  Reported by: kobaz
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/pbx/pbx_config.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/pbx/pbx_config.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/pbx/pbx_config.c?view=diff&rev=272015&r1=272014&r2=272015
==============================================================================
--- branches/1.6.2/pbx/pbx_config.c (original)
+++ branches/1.6.2/pbx/pbx_config.c Tue Jun 22 17:14:15 2010
@@ -455,7 +455,7 @@
 	} else if (a->pos == 4) { /* 'dialplan remove extension EXT _X_' (priority) */
 		char *exten = NULL, *context, *cid, *p;
 		struct ast_context *c;
-		int le, lc, lcid, len;
+		int le, lc, len;
 		const char *s = skip_words(a->line, 3); /* skip 'dialplan' 'remove' 'extension' */
 		int i = split_ec(s, &exten, &context, &cid);	/* parse ext at context */
 
@@ -467,7 +467,6 @@
 			*p = '\0';
 		le = strlen(exten);
 		lc = strlen(context);
-		lcid = strlen(cid);
 		len = strlen(a->word);
 		if (le == 0 || lc == 0)
 			goto error3;




More information about the svn-commits mailing list