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;


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to