Bug 13137. Fix broken usage of CBufDescriptor.

git-svn-id: svn://10.0.0.236/trunk@46148 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com 1999-09-07 02:46:08 +00:00
parent 0be907f1c1
commit 5eca206f61

View File

@ -651,7 +651,7 @@ RDFContainerImpl::GetNextValue(nsIRDFResource** aResult)
}
char buf[sizeof(kRDFNameSpaceURI) + 16];
nsCAutoString nextValStr(CBufDescriptor(buf, PR_TRUE, sizeof(buf)));
nsCAutoString nextValStr(CBufDescriptor(buf, PR_TRUE, sizeof(buf), 0));
nextValStr = kRDFNameSpaceURI;
nextValStr.Append("_");
nextValStr.Append(nextVal, 10);