X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fsg_netChat.cxx;h=4de7716393cf884b4346214d4786dc924f095a7d;hb=adb7db9229db1d869b254ac18f1471bed464c508;hp=597bb47e19c6dc589c2f36fa371ae0e7007669da;hpb=f06f25532ca06b7edb948131f45f8efea2268589;p=simgear.git diff --git a/simgear/io/sg_netChat.cxx b/simgear/io/sg_netChat.cxx index 597bb47e..4de77163 100644 --- a/simgear/io/sg_netChat.cxx +++ b/simgear/io/sg_netChat.cxx @@ -16,7 +16,7 @@ You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA For further information visit http://plib.sourceforge.net @@ -26,7 +26,8 @@ #include #include // for strdup - +#include + namespace simgear { void @@ -114,8 +115,8 @@ NetChat::handleBufferRead (NetBuffer& in_buffer) collectIncomingData (in_buffer.getData(),in_buffer.getLength()); in_buffer.remove (); } - - return; + + continue; } int terminator_len = strlen(terminator);