Adapt to new stream interfaces some more.

This commit is contained in:
mcmullen%netscape.com 1999-03-06 02:12:52 +00:00
parent 333741e682
commit 5c9516e394

View File

@ -443,7 +443,7 @@ public:
NS_IMETHOD Close(void) {return NS_OK;}
NS_IMETHOD Write(const char *str, PRUint32 len, PRUint32 *wcnt)
{
*wcnt = fwrite(&str[offset], 1, len, stdout);
*wcnt = fwrite(str, 1, len, stdout);
fflush(stdout);
return NS_OK;
}