> -----Ursprüngliche Nachricht----- > Von: Nick Kew [mailto:[email protected]] > Gesendet: Dienstag, 6. Januar 2009 16:48 > An: [email protected]; [email protected] > Betreff: Re: svn commit: r731965 - > /httpd/httpd/trunk/modules/generators/mod_cgid.c > > [crossposting because this httpd issue raises an APR issue] > > Jeff Trawick wrote: > > On Tue, Jan 6, 2009 at 10:05 AM, <[email protected] > > <mailto:[email protected]>> wrote: > > > > Author: trawick > > Date: Tue Jan 6 07:05:33 2009 > > New Revision: 731965 > > > > URL: http://svn.apache.org/viewvc?rev=731965&view=rev > > <http://svn.apache.org/viewvc?rev=731965&view=rev> > > Log: > > the length arguments are apr_size_t, not int > > How is it apr_size_t?
I guess what is important here is that all length parameters passed to sock_writev as variable parameters are of size_t. So the second argument given to va_arg should reflect this. IMHO it doesn't matter what type we have in the iovec struct for this purpose. Regards Rüdiger
