[asterisk-commits] dvossel: branch dvossel/gtalk_fixup r291506 - /team/dvossel/gtalk_fixup/chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 13 13:55:25 CDT 2010


Author: dvossel
Date: Wed Oct 13 13:55:22 2010
New Revision: 291506

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=291506
Log:
fixes crash in update_stun.. again

Modified:
    team/dvossel/gtalk_fixup/channels/chan_gtalk.c

Modified: team/dvossel/gtalk_fixup/channels/chan_gtalk.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/gtalk_fixup/channels/chan_gtalk.c?view=diff&rev=291506&r1=291505&r2=291506
==============================================================================
--- team/dvossel/gtalk_fixup/channels/chan_gtalk.c (original)
+++ team/dvossel/gtalk_fixup/channels/chan_gtalk.c Wed Oct 13 13:55:22 2010
@@ -1409,6 +1409,7 @@
 		if (!(hp = ast_gethostbyname(tmp->ip, &ahp))) {
 			ast_log(LOG_WARNING, "Could not get host by name for %s\n", tmp->ip);
 			tmp = tmp->next;
+			continue;
 		}
 		sin.sin_family = AF_INET;
 		memcpy(&sin.sin_addr, hp->h_addr, sizeof(sin.sin_addr));




More information about the asterisk-commits mailing list