[asterisk-commits] file: trunk r389204 - /trunk/main/sorcery.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 20 09:02:41 CDT 2013


Author: file
Date: Mon May 20 09:02:37 2013
New Revision: 389204

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389204
Log:
In Sorcery pass the name of the object being allocated to the allocator.

Modified:
    trunk/main/sorcery.c

Modified: trunk/main/sorcery.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/sorcery.c?view=diff&rev=389204&r1=389203&r2=389204
==============================================================================
--- trunk/main/sorcery.c (original)
+++ trunk/main/sorcery.c Mon May 20 09:02:37 2013
@@ -983,7 +983,7 @@
 	struct ast_sorcery_object_details *details;
 
 	if (!object_type || !object_type->type.item_alloc ||
-	    !(details = object_type->type.item_alloc(""))) {
+	    !(details = object_type->type.item_alloc(id))) {
 		return NULL;
 	}
 




More information about the asterisk-commits mailing list