Ver código fonte

sort of better

Jason Hancock 19 anos atrás
pai
commit
5bba1a7084

+ 1 - 1
panda/src/nativenet/Sources.pp

@@ -26,8 +26,8 @@
 	socket_udp_outgoing.h time_general.h
         
   #define INCLUDED_SOURCES \
-    buffered_datagramconnection.cxx \
     config_nativenet.cxx \
+    buffered_datagramconnection.cxx \
     socket_ip.cxx \
     socket_tcp.cxx \
     socket_tcp_listen.cxx \

+ 2 - 2
panda/src/nativenet/buffered_datagramconnection.h

@@ -241,7 +241,7 @@ inline bool  Buffered_DatagramConnection::SendMessageBufferOnly(Datagram &msg)
 	if(val >= 0)
 	    return true;
 
-	nativenet_cat.error() << "Buffered_DatagramConnection::SendMessageBufferOnly->Error On Write--Out Buffer = " _Writer.AmountBuffered() << "\n";
+	nativenet_cat.error() << "Buffered_DatagramConnection::SendMessageBufferOnly->Error On Write--Out Buffer = " << _Writer.AmountBuffered() << "\n";
 	ClearAll();
     return false;
 }
@@ -322,7 +322,7 @@ bool Buffered_DatagramConnection::Flush(void)
 inline void Buffered_DatagramConnection::Reset()
 {
   nativenet_cat.error() << "Buffered_DatagramConnection::Reset()\n";
-  ClearAll();`
+  ClearAll();
 };
 
 

+ 1 - 1
panda/src/nativenet/buffered_datagramreader.h

@@ -82,7 +82,7 @@ public:
         else
         {
             answer = -2;
-            nativenet_cat.error() << "buffered_datagram_reader:ReadPump Yeep! buffer has no room to read to -- " << sck.GetPeerName().get_ip_port().c_str() << "\nBufferAvaiable = " << readsize " AmountBuffered = " << AmountBuffered() << " BufferSize " << GetBufferSize() << "\n";
+    nativenet_cat.error() << "buffered_datagram_reader:ReadPump Yeep! buffer has no room to read to -- " << sck.GetPeerName().get_ip_port().c_str() << "\nBufferAvaiable = " << readsize <<" AmountBuffered = " << AmountBuffered() << " BufferSize " << GetBufferSize() << "\n";
             
         }
         return answer;

+ 1 - 1
panda/src/nativenet/nativenet_composite1.cxx

@@ -1,5 +1,5 @@
-#include "buffered_datagramconnection.cxx"
 #include "config_nativenet.cxx"
+#include "buffered_datagramconnection.cxx"
 #include "socket_ip.cxx"
 #include "socket_tcp.cxx"
 #include "socket_tcp_listen.cxx"