fix bug 9564 r=mcafee a=cyeh

git-svn-id: svn://10.0.0.236/trunk@38938 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%pavlov.net
1999-07-09 23:41:29 +00:00
parent d84a233ea5
commit bbb3fce265

View File

@@ -82,9 +82,9 @@ static nsresult setAttribute( nsIWebShell *shell,
// Set the text attribute.
rv = elem->SetAttribute( name, value );
if ( APP_DEBUG ) {
char *p = value.ToNewCString();
//char *p = value.ToNewCString();
//printf( "Set %s %s=\"%s\", rv=0x%08X\n", id, name, p, (int)rv );
delete [] p;
//delete [] p;
}
if ( rv != NS_OK ) {
if (APP_DEBUG) printf("SetAttribute failed, rv=0x%X\n",(int)rv);