Skip to content

Commit

Permalink
Add a lot of debug and rewrite to support sending using the INCR prot…
Browse files Browse the repository at this point in the history
…ocol
  • Loading branch information
rfm committed Feb 26, 2024
1 parent 0a32e72 commit a0a45fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/gpbs.m
Expand Up @@ -286,7 +286,8 @@ - (void) setData: (NSData*)d
ASSIGN(data, d);
if (verbose)
{
NSLog(@"-setData: for %@", self);
NSLog(@"-setData: (%llu bytes) for %@",
(unsigned long long)[data length], self);
}
}

Expand Down Expand Up @@ -864,7 +865,7 @@ - (BOOL) setData: (NSData*)data
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)
Expand Down

0 comments on commit a0a45fa

Please sign in to comment.