Merged revisions 292188 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 18 Oct 2010 19:52:58 +0000 (19:52 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 18 Oct 2010 19:52:58 +0000 (19:52 +0000)
commit84cbd3249af7dce348c6097fb1fff3887aa814fd
tree7cbce244e859014f1a97439f27b1cf94e1be3dff
parent6a09c24baef4b980ac7309d6cade97bd1bc77c87
Merged revisions 292188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292188 | russell | 2010-10-18 14:50:04 -0500 (Mon, 18 Oct 2010) | 9 lines

  Resolve some compiler errors in ast_sockaddr_is_any().

  These errors came up once this function was used from within netsock2.c.
  The errors were like the following:

  netsock2.c:393: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules

  The usage of a union here avoids this problem.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@292189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/netsock2.c