[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42881 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 13 07:40:25 MST 2006


Author: pcadach
Date: Wed Sep 13 09:40:24 2006
New Revision: 42881

URL: http://svn.digium.com/view/asterisk?rev=42881&view=rev
Log:
Eliminate GCC 4.1.2 warning

Modified:
    team/pcadach/chan_h323-live/channels/chan_h323.c

Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=42881&r1=42880&r2=42881&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Wed Sep 13 09:40:24 2006
@@ -1435,7 +1435,7 @@
 
 	/* First check on peer name */
 	if (peername)
-		var = ast_load_realtime("h323", "name", peername, NULL);
+		var = ast_load_realtime("h323", "name", peername, addr = NULL);
 	else if (sin) /* Then check on IP address for dynamic peers */
 		var = ast_load_realtime("h323", "host", addr = ast_inet_ntoa(sin->sin_addr), NULL);
 	else



More information about the asterisk-commits mailing list