]> git.sesse.net Git - cubemap/commitdiff
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 a3a950b03a9876c33fbd1de794e25549eea0b7c9..e22e0a5970a25f3bc628ed77a6ff561f5620ad9f 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);
                }