Coverity 1093645 (out of bounds read): fix 2nd case & correct previous "fix"

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9900 387891d4-d844-0410-90c0-e4c51a9137d3
Coverity 1093641: fix out of bounds write (Log_line_timestamps[Num_log_lines])

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9901 387891d4-d844-0410-90c0-e4c51a9137d3
remove gcc warnings [-Wshadow] in mission/missionlog.cpp

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9902 387891d4-d844-0410-90c0-e4c51a9137d3
Coverity 1093639: fix out of bounds access (ip_addr.sin_addr with proto TCP)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9903 387891d4-d844-0410-90c0-e4c51a9137d3
remove gcc warnings [-Wunused-but-set-variable] in network/psnet2.cpp

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9904 387891d4-d844-0410-90c0-e4c51a9137d3
Redo 9903 - this is a more robust solution

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9905 387891d4-d844-0410-90c0-e4c51a9137d3