]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_netChat.cxx
Tweaks to queuing of HTTP/1.0 connections, and tests for sequential connections in...
[simgear.git] / simgear / io / sg_netChat.cxx
index 597bb47e19c6dc589c2f36fa371ae0e7007669da..7206401389c40cdacd48c740b04b8bc089e5918a 100644 (file)
@@ -26,7 +26,8 @@
 #include <simgear/io/sg_netChat.hxx>
 
 #include <cstring> // for strdup
-         
+#include <cstdlib>
+
 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);