When warning about unusually long Metacube blocks, use decimal instead of hex.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 14 Aug 2013 19:34:24 +0000 (21:34 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 14 Aug 2013 19:34:24 +0000 (21:34 +0200)
httpinput.cpp

index a3a950b..e22e0a5 100644 (file)
@@ -459,7 +459,7 @@ void HTTPInput::process_data(char *ptr, size_t bytes)
                uint32_t flags = ntohl(hdr->flags);
 
                if (size > 65535) {
-                       log(WARNING, "[%s] Metacube block of %x bytes (flags=%x); corrupted header?",
+                       log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?",
                                url.c_str(), size, flags);
                }