[asterisk-commits] russell: trunk r115519 - /trunk/channels/chan_h323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 7 13:24:51 CDT 2008


Author: russell
Date: Wed May  7 13:24:51 2008
New Revision: 115519

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115519
Log:
Let chan_h323 build in dev mode

Modified:
    trunk/channels/chan_h323.c

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?view=diff&rev=115519&r1=115518&r2=115519
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Wed May  7 13:24:51 2008
@@ -1548,11 +1548,11 @@
 	struct oh323_peer *peer;
 	struct ast_variable *var;
 	struct ast_variable *tmp;
-	const char *addr;
+	const char *addr = NULL;
 
 	/* First check on peer name */
 	if (peername)
-		var = ast_load_realtime("h323", "name", peername, addr = NULL);
+		var = ast_load_realtime("h323", "name", peername, 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