[asterisk-commits] file: trunk r47438 - in /trunk: ./
apps/app_chanspy.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Nov 10 09:55:13 MST 2006
Author: file
Date: Fri Nov 10 10:55:13 2006
New Revision: 47438
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47438
Log:
Merged revisions 47437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47437 | file | 2006-11-10 11:53:16 -0500 (Fri, 10 Nov 2006) | 2 lines
Only split up extension and context if a value exists. (issue #8332 reported by loloski)
........
Modified:
trunk/ (props changed)
trunk/apps/app_chanspy.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=47438&r1=47437&r2=47438
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Fri Nov 10 10:55:13 2006
@@ -658,7 +658,8 @@
if ((argc = ast_app_separate_args(data, '|', argv, sizeof(argv) / sizeof(argv[0])))) {
context = argv[0];
- exten = strsep(&context, "@");
+ if (!ast_strlen_zero(argv[0]))
+ exten = strsep(&context, "@");
if (ast_strlen_zero(context))
context = ast_strdupa(chan->context);
if (argc > 1)
More information about the asterisk-commits
mailing list