[asterisk-commits] simon.perreault: branch group/v6-new r273916 - /team/group/v6-new/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 5 09:22:42 CDT 2010


Author: simon.perreault
Date: Mon Jul  5 09:22:38 2010
New Revision: 273916

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273916
Log:
Removed unnecessary memsets

Modified:
    team/group/v6-new/main/manager.c

Modified: team/group/v6-new/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/main/manager.c?view=diff&rev=273916&r1=273915&r2=273916
==============================================================================
--- team/group/v6-new/main/manager.c (original)
+++ team/group/v6-new/main/manager.c Mon Jul  5 09:22:38 2010
@@ -6192,8 +6192,6 @@
 
 	/* default values */
 	ast_copy_string(global_realm, S_OR(ast_config_AST_SYSTEM_NAME, DEFAULT_REALM), sizeof(global_realm));
-	memset(&ami_desc_local_address_tmp, 0, sizeof(struct sockaddr_in));
-	memset(&amis_desc_local_address_tmp, 0, sizeof(struct sockaddr_in));
 	amis_desc_local_address_tmp.sin_port = htons(5039);
 	ami_desc_local_address_tmp.sin_port = htons(DEFAULT_MANAGER_PORT);
 




More information about the asterisk-commits mailing list