From 8d966178f444e84771451ec24d7d42dfc98c986f Mon Sep 17 00:00:00 2001 From: jmjatlanta Date: Thu, 22 Dec 2016 13:40:11 -0500 Subject: [PATCH] minor change to aide in reverse engineering protobufs --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 46c0736..4151d65 100644 --- a/main.c +++ b/main.c @@ -100,7 +100,7 @@ int main(int argc, char** argv) { unsigned long long varint = 0; protobuf_decode_varint(&buffer[pos], numBytes-pos, &varint, &bytes_read); pos += bytes_read; - printf(" Value: %llu\n", varint); + printf(" Value: %llu. Next read position at %lu\n", varint, pos); break; } case (WIRETYPE_LENGTH_DELIMITED): {