Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan

This commit is contained in:
Daniel Holbert 2011-04-01 14:38:46 -07:00
Родитель d0cfebcda0
Коммит 9fb06efc8b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1409,7 +1409,7 @@ nsHalfOpenSocket::OnOutputStreamReady(nsIAsyncOutputStream *out)
// assign the new socket to the http connection
nsRefPtr<nsHttpConnection> conn = new nsHttpConnection();
LOG(("nsHalfOpenSocket::OnOutputStreamReady "
"Created new nshttpconnection %p\n", conn));
"Created new nshttpconnection %p\n", conn.get()));
nsCOMPtr<nsIInterfaceRequestor> callbacks;
nsCOMPtr<nsIEventTarget> callbackTarget;
@ -1440,7 +1440,7 @@ nsHalfOpenSocket::OnOutputStreamReady(nsIAsyncOutputStream *out)
if (NS_FAILED(rv)) {
LOG(("nsHalfOpenSocket::OnOutputStreamReady "
"conn->init (%p) failed %x\n", conn, rv));
"conn->init (%p) failed %x\n", conn.get(), rv));
return rv;
}