]> git.mxchange.org Git - simgear.git/commit
sg_netChat: Use std::string to prevent crash with old strdup.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 3 Mar 2013 00:07:35 +0000 (01:07 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 3 Mar 2013 00:12:01 +0000 (01:12 +0100)
commit33e60725b175a449867a978dc40c6820293fe65d
treedd58aa07703b750d5aaa3e70ee8957e20fbff528
parentf21b0985ccdced053a0ee4cf68bd6f78b232cbb0
sg_netChat: Use std::string to prevent crash with old strdup.

Thanks to Godspeed for noticing this code crashing with MSVC.
Using std::string should fix this.
simgear/io/sg_netChat.cxx
simgear/io/sg_netChat.hxx