From: Steinar H. Gunderson Date: Wed, 14 Aug 2013 19:34:24 +0000 (+0200) Subject: When warning about unusually long Metacube blocks, use decimal instead of hex. X-Git-Tag: 1.0.0~28 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=4553a184fb72d199ad665f469b0ac693fb089701 When warning about unusually long Metacube blocks, use decimal instead of hex. --- diff --git a/httpinput.cpp b/httpinput.cpp index a3a950b..e22e0a5 100644 --- a/httpinput.cpp +++ b/httpinput.cpp @@ -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); }