[asterisk-commits] russell: branch 1.4 r81418 - /branches/1.4/include/asterisk/astobj2.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 31 16:27:50 CDT 2007

Author: russell
Date: Fri Aug 31 16:27:49 2007
New Revision: 81418

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81418
Remove references to a debugging parameter that does not exist


Modified: branches/1.4/include/asterisk/astobj2.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/astobj2.h?view=diff&rev=81418&r1=81417&r2=81418
--- branches/1.4/include/asterisk/astobj2.h (original)
+++ branches/1.4/include/asterisk/astobj2.h Fri Aug 31 16:27:49 2007
@@ -89,7 +89,7 @@
     ao2_container *c;
-    c = ao2_container_alloc(MAX_BUCKETS, my_hash_fn, my_cmp_fn, my_dump_fn);
+    c = ao2_container_alloc(MAX_BUCKETS, my_hash_fn, my_cmp_fn);
 - MAX_BUCKETS is the number of buckets in the hash table,
@@ -98,7 +98,6 @@
   by the container's code);
 - my_cmp_fn() is the default comparison function used when doing
   searches on the container,
-- my_dump_fn() is a helper function used only for debugging.
 A container knows little or nothing about the object itself,
 other than the fact that it has been created by ao2_alloc()

More information about the asterisk-commits mailing list