|
-
February 2nd, 2010, 02:34 PM
#8
Re: fwrite ERRNO 22 with big (?) size
 Originally Posted by hi1
Ok, now i've added the checks.
I've omitted them since they did not seem relevant to me.
So where exactly in your code do you see that errno is 22?
Did you step through your code under debugger?
What is the value of written_bytes? content_length? And what is its type?
Please note that errno is a global variable, it could be set in some other place in your code.
For example, if your parsed_request->body is 0, you bypass the line
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|