ksachdeva wrote:
nsMyInputStream::Read(char* aBuf,PRUint32 aCount,PRUint32* _retval)

_retval is the number of bytes read.

         *_retval = 0; // indicating the close

So you're telling the caller you gave them no data.

-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to