Bug 1174899 - fixup log format strings for spdy/h2 r=bagder

This commit is contained in:
Patrick McManus 2015-11-20 15:33:04 -05:00
parent 0b6e73324a
commit 158be4c25e
2 changed files with 8 additions and 8 deletions

View File

@ -1339,15 +1339,15 @@ Http2Stream::OnReadSegment(const char *buf,
dataLength = static_cast<uint32_t>(mServerReceiveWindow);
LOG3(("Http2Stream this=%p id 0x%X send calculation "
"avail=%d chunksize=%d stream window=%d session window=%d "
"max frame=%d USING=%d\n", this, mStreamID,
"avail=%d chunksize=%d stream window=%" PRId64 " session window=%" PRId64 " "
"max frame=%d USING=%u\n", this, mStreamID,
count, mChunkSize, mServerReceiveWindow, mSession->ServerSessionWindow(),
Http2Session::kMaxFrameData, dataLength));
mSession->DecrementServerSessionWindow(dataLength);
mServerReceiveWindow -= dataLength;
LOG3(("Http2Stream %p id %x request len remaining %u, "
LOG3(("Http2Stream %p id 0x%x request len remaining %" PRId64 ", "
"count avail %u, chunk used %u",
this, mStreamID, mRequestBodyLenRemaining, count, dataLength));
if (!dataLength && mRequestBodyLenRemaining) {

View File

@ -1531,14 +1531,14 @@ SpdyStream31::OnReadSegment(const char *buf,
if (dataLength > mSession->RemoteSessionWindow())
dataLength = static_cast<uint32_t>(mSession->RemoteSessionWindow());
LOG3(("SpdyStream31 this=%p id 0x%X remote window is stream %ld and "
"session %ld. Chunk is %d\n",
this, mStreamID, mRemoteWindow, mSession->RemoteSessionWindow(),
dataLength));
LOG3(("SpdyStream31 this=%p id 0x%X remote window is stream %" PRId64 " and "
"session %" PRId64". Chunk is %u\n",
this, mStreamID, mRemoteWindow,
mSession->RemoteSessionWindow(), dataLength));
mRemoteWindow -= dataLength;
mSession->DecrementRemoteSessionWindow(dataLength);
LOG3(("SpdyStream31 %p id %x request len remaining %u, "
LOG3(("SpdyStream31 %p id 0x%x request len remaining %" PRId64 ", "
"count avail %u, chunk used %u",
this, mStreamID, mRequestBodyLenRemaining, count, dataLength));
if (!dataLength && mRequestBodyLenRemaining) {