[asterisk-commits] rmudgett: branch rmudgett/ao2_red_black r374281 - /team/rmudgett/ao2_red_blac...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 2 18:37:55 CDT 2012


Author: rmudgett
Date: Tue Oct  2 18:37:52 2012
New Revision: 374281

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374281
Log:
Missed an astobj2.c debug tag.

Modified:
    team/rmudgett/ao2_red_black/main/astobj2.c

Modified: team/rmudgett/ao2_red_black/main/astobj2.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/ao2_red_black/main/astobj2.c?view=diff&rev=374281&r1=374280&r2=374281
==============================================================================
--- team/rmudgett/ao2_red_black/main/astobj2.c (original)
+++ team/rmudgett/ao2_red_black/main/astobj2.c Tue Oct  2 18:37:52 2012
@@ -5587,11 +5587,11 @@
 	}
 
 	name = a->argv[3];
-	reg = ao2_find(reg_containers, name, OBJ_KEY);
+	reg = ao2_t_find(reg_containers, name, OBJ_KEY, "Find registered container");
 	if (reg) {
 		ao2_container_dump(reg->registered, 0, name, (void *) &a->fd, cli_output,
 			reg->prnt_obj);
-		ao2_ref(reg, -1);
+		ao2_t_ref(reg, -1, "Done with registered container object.");
 	} else {
 		ast_cli(a->fd, "Container '%s' not found.\n", name);
 	}




More information about the asterisk-commits mailing list