[asterisk-commits] branch group/new_loader_completion r21095 - /team/group/new_loader_completion/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 18 01:57:59 MST 2006


Author: rizzo
Date: Tue Apr 18 03:57:57 2006
New Revision: 21095

URL: http://svn.digium.com/view/asterisk?rev=21095&view=rev
Log:
fix typo (== instead of =)
caught by -Werror


Modified:
    team/group/new_loader_completion/loader.c

Modified: team/group/new_loader_completion/loader.c
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/loader.c?rev=21095&r1=21094&r2=21095&view=diff
==============================================================================
--- team/group/new_loader_completion/loader.c (original)
+++ team/group/new_loader_completion/loader.c Tue Apr 18 03:57:57 2006
@@ -514,7 +514,7 @@
 {
 	struct ast_module_user *u;
 
-	while ((u == AST_LIST_REMOVE_HEAD(&mod->users, entry)))
+	while ((u = AST_LIST_REMOVE_HEAD(&mod->users, entry)))
 		free(u);
 	
 	ast_mutex_destroy(&mod->lock);



More information about the asterisk-commits mailing list