[asterisk-commits] file: branch file/sorceryx3 r387661 - /team/file/sorceryx3/main/sorcery.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 6 07:43:33 CDT 2013


Author: file
Date: Mon May  6 07:43:31 2013
New Revision: 387661

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387661
Log:
Incorporate feedback from review.

Modified:
    team/file/sorceryx3/main/sorcery.c

Modified: team/file/sorceryx3/main/sorcery.c
URL: http://svnview.digium.com/svn/asterisk/team/file/sorceryx3/main/sorcery.c?view=diff&rev=387661&r1=387660&r2=387661
==============================================================================
--- team/file/sorceryx3/main/sorcery.c (original)
+++ team/file/sorceryx3/main/sorcery.c Mon May  6 07:43:31 2013
@@ -701,7 +701,7 @@
 {
 	struct sorcery_observer_invocation *invocation = data;
 
-	ao2_callback(invocation->object_type->observers, OBJ_NODATA | OBJ_MULTIPLE, sorcery_observer_notify_loaded, invocation->object_type->name);
+	ao2_callback(invocation->object_type->observers, OBJ_NODATA, sorcery_observer_notify_loaded, invocation->object_type->name);
 	ao2_cleanup(invocation);
 
 	return 0;
@@ -1212,7 +1212,7 @@
 {
 	struct sorcery_observer_invocation *invocation = data;
 
-	ao2_callback(invocation->object_type->observers, OBJ_NODATA | OBJ_MULTIPLE, sorcery_observer_notify_create, invocation->object);
+	ao2_callback(invocation->object_type->observers, OBJ_NODATA, sorcery_observer_notify_create, invocation->object);
 	ao2_cleanup(invocation);
 
 	return 0;
@@ -1261,7 +1261,7 @@
 {
 	struct sorcery_observer_invocation *invocation = data;
 
-	ao2_callback(invocation->object_type->observers, OBJ_NODATA | OBJ_MULTIPLE, sorcery_observer_notify_update, invocation->object);
+	ao2_callback(invocation->object_type->observers, OBJ_NODATA, sorcery_observer_notify_update, invocation->object);
 	ao2_cleanup(invocation);
 
 	return 0;
@@ -1320,7 +1320,7 @@
 {
 	struct sorcery_observer_invocation *invocation = data;
 
-	ao2_callback(invocation->object_type->observers, OBJ_NODATA | OBJ_MULTIPLE, sorcery_observer_notify_delete, invocation->object);
+	ao2_callback(invocation->object_type->observers, OBJ_NODATA, sorcery_observer_notify_delete, invocation->object);
 	ao2_cleanup(invocation);
 
 	return 0;




More information about the asterisk-commits mailing list