"Darin Fisher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
iBytesRead = mRequestStream->Read(aBuf, 1024, &rv);try changing this to:
rv = mRequestStream->Read(aBuf, sizeof(aBuf), &iBytesRead);
-Darin
Yep, that did the trick! Thanks, Darin!
Great!
The reason I had the rv as the third arg was because file nsIInputStream.h
has the following for the prototype of Read(). (It says that it returns the
number of bytes read. And I assumed the _retval arg was for an exit
status.):
Those comments make more sense when you read the IDL files. (_retval is the parameter name that the xpidl compiler chooses for a return value expressed in IDL.)
-Darin _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib
