mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Adapt to new stream interfaces some more.
This commit is contained in:
parent
333741e682
commit
5c9516e394
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user