Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson

git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-27 22:43:51 +00:00
parent e7c9040b5e
commit c6b67eceeb
757 changed files with 10724 additions and 8223 deletions

View File

@@ -647,7 +647,7 @@ PRIVATE
void DebugPrint(char* aLabel, nsString aString)
{
char* out = aString.ToNewCString();
printf("\n %s=%s\n", aLabel, out);
PRINTF("\n %s=%s\n", aLabel, out);
delete [] out;
}
@@ -1010,7 +1010,7 @@ void nsFormFrame::GetSubmitCharset(nsString& oCharset)
}
}
#ifdef DEBUG_ftang
printf("accept-charset = %s\n", acceptCharsetValue.ToNewUTF8String());
PRINTF("accept-charset = %s\n", acceptCharsetValue.ToNewUTF8String());
#endif
PRInt32 l = acceptCharsetValue.Length();
if(l > 0 ) {
@@ -1026,7 +1026,7 @@ void nsFormFrame::GetSubmitCharset(nsString& oCharset)
nsAutoString charset;
acceptCharsetValue.Mid(charset, offset, cnt);
#ifdef DEBUG_ftang
printf("charset[i] = %s\n",charset.ToNewUTF8String());
PRINTF("charset[i] = %s\n",charset.ToNewUTF8String());
#endif
if(NS_SUCCEEDED(calias->GetPreferred(charset,oCharset)))
return;
@@ -1053,7 +1053,7 @@ NS_IMETHODIMP nsFormFrame::GetEncoder(nsIUnicodeEncoder** encoder)
nsresult rv = NS_OK;
GetSubmitCharset(charset);
#ifdef DEBUG_ftang
printf("charset=%s\n", charset.ToNewCString());
PRINTF("charset=%s\n", charset.ToNewCString());
#endif
// Get Charset, get the encoder.