Add a lot of debug and rewrite to support sending using the INCR protocol

This commit is contained in:
rfm 2024-02-26 17:07:39 +00:00
parent 0a32e7284e
commit a0a45faaea

View file

@ -286,7 +286,8 @@ NSMutableDictionary *pasteboards = nil;
ASSIGN(data, d);
if (verbose)
{
NSLog(@"-setData: for %@", self);
NSLog(@"-setData: (%llu bytes) for %@",
(unsigned long long)[data length], self);
}
}
@ -864,7 +865,7 @@ NSMutableDictionary *pasteboards = nil;
e = [self entryByCount: count];
if (verbose)
{
NSLog(@"%@ set data %p (%llu bytes) for type '%@' version %d in %@",
NSLog(@"%@ set data %p (%llu bytes) for type '%@' version %d in %@",
self, data, (unsigned long long)[data length], type, count, e);
}
if (e)