From 11e10c4741f8f0bdefec677b5b12e33112cfac9c Mon Sep 17 00:00:00 2001 From: Jeffery Weston Date: Fri, 5 Apr 2024 14:28:31 -0400 Subject: [PATCH] Removed ProtoSocket Send TRACE command; Changed 'clean' makefile command to remove Python-generated files/directories so that they can be rebuilt --- makefiles/Makefile.common | 5 +++-- src/common/protoSocket.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/makefiles/Makefile.common b/makefiles/Makefile.common index 43153a3..37d94b9 100755 --- a/makefiles/Makefile.common +++ b/makefiles/Makefile.common @@ -392,8 +392,9 @@ stree: $(STREE_OBJ) libprotokit.a clean: rm -f *.o $(COMMON)/*.o $(MANET)/*.o $(NS)/*.o ../src/*/*.o ../examples/*.o \ - *.a *.$(SYSTEM_SOEXT) ../lib/*.a ../lib/*.../bin/* $(SYSTEM_SOEXT) \ - arposer averageExample base64Example detourExample graphExample graphRider graphXMLExample jsonExample lfsrExample msg2MsgExample msgExample netExample pcmd pipe2SockExample pipeExample protoCapExample protoApp protoExample protoFileExample queueExample riposer serialExample simpleTcpExample sock2PipeExample threadExample timerTest ting vifExample vifLan gr ../bin/* + *.a *.$(SYSTEM_SOEXT) ../lib/*.a ../lib/* ../bin/* $(SYSTEM_SOEXT) \ + arposer averageExample base64Example detourExample graphExample graphRider graphXMLExample jsonExample lfsrExample msg2MsgExample msgExample netExample pcmd pipe2SockExample pipeExample protoCapExample protoApp protoExample protoFileExample queueExample riposer serialExample simpleTcpExample sock2PipeExample threadExample timerTest ting vifExample vifLan gr + rm -rf ../build/* ../protokit.egg-info # DO NOT DELETE THIS LINE -- mkdep uses it. diff --git a/src/common/protoSocket.cpp b/src/common/protoSocket.cpp index a2d0085..2305b68 100755 --- a/src/common/protoSocket.cpp +++ b/src/common/protoSocket.cpp @@ -1303,7 +1303,7 @@ bool ProtoSocket::Accept(ProtoSocket* newSocket) bool ProtoSocket::Send(const char* buffer, unsigned int& numBytes) { - TRACE("ProtoSocket::Send() ...\n"); + //TRACE("ProtoSocket::Send() ...\n"); if (IsConnected()) { #ifdef WIN32