[asterisk-commits] tilghman: branch 1.4 r83637 - /branches/1.4/main/app.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 24 10:17:06 CDT 2007


Author: tilghman
Date: Mon Sep 24 10:17:06 2007
New Revision: 83637

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83637
Log:
Making change to group splitting, as discussed on the -dev list.  The main
effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group.

Modified:
    branches/1.4/main/app.c

Modified: branches/1.4/main/app.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/app.c?view=diff&rev=83637&r1=83636&r2=83637
==============================================================================
--- branches/1.4/main/app.c (original)
+++ branches/1.4/main/app.c Mon Sep 24 10:17:06 2007
@@ -782,7 +782,7 @@
 	if (!ast_strlen_zero(grp))
 		ast_copy_string(group, grp, group_max);
 	else
-		res = -1;
+		*group = '\0';
 
 	if (!ast_strlen_zero(cat))
 		ast_copy_string(category, cat, category_max);




More information about the asterisk-commits mailing list