1.1 --- a/TCP/TCPWriter.m Sun May 25 13:43:03 2008 -0700
1.2 +++ b/TCP/TCPWriter.m Tue Jun 10 16:14:20 2008 -0700
1.3 @@ -55,6 +55,7 @@
1.4 }
1.5 _currentData = [[_queue objectAtIndex: 0] retain];
1.6 _currentDataPos = 0;
1.7 + LogTo(TCPVerbose,@"%@ using _currentData %p (%u bytes)", self,_currentData,_currentData.length);
1.8 [_queue removeObjectAtIndex: 0];
1.9 }
1.10
1.11 @@ -65,10 +66,10 @@
1.12 if( written < 0 )
1.13 [self _gotError];
1.14 else if( written < len ) {
1.15 - LogTo(TCPVerbose,@"%@ wrote %i bytes (of %u)", self,written,len);
1.16 + LogTo(TCPVerbose,@"%@ wrote %i bytes (of %u) from %p", self,written,len,_currentData);
1.17 _currentDataPos += written;
1.18 } else {
1.19 - LogTo(TCPVerbose,@"%@ wrote %i bytes", self,written);
1.20 + LogTo(TCPVerbose,@"%@ wrote %i bytes, released %p", self,written,_currentData);
1.21 setObj(&_currentData,nil);
1.22 }
1.23 }