[asterisk-commits] dlee: trunk r396035 - /trunk/main/sorcery.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 1 16:19:31 CDT 2013
Author: dlee
Date: Thu Aug 1 16:19:27 2013
New Revision: 396035
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396035
Log:
Fix sorcery for some rather picky regex implementations.
Some regex implementations won't compile an empty string. Assuming that
it's equivalent of a regex that will match anything, use ".?" instead.
Modified:
trunk/main/sorcery.c
Modified: trunk/main/sorcery.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/sorcery.c?view=diff&rev=396035&r1=396034&r2=396035
==============================================================================
--- trunk/main/sorcery.c (original)
+++ trunk/main/sorcery.c Thu Aug 1 16:19:27 2013
@@ -585,7 +585,7 @@
object_type->type.name = object_type->name;
object_type->type.type = ACO_ITEM;
- object_type->type.category = "";
+ object_type->type.category = ".?";
object_type->type.item_alloc = alloc;
object_type->transform = transform;
More information about the asterisk-commits
mailing list