cURL / Mailing Lists / curl-library / Single Mail


Compile with -D_FORM_DEBUG

From: Patrick Monnerat <>
Date: Fri, 3 Aug 2007 11:51:26 +0200

The _FORM_DEBUG-enabled code is not valid anymore:
_ "value[56]length" measure wrong strings
_ "size" must be typed "curl_off_t" and associated print code updated
_ Typo "PTRCOTNENTS" in code and comment.

The attached patch fixes all of these. In addition, it defines a full
standard prototype for the main() function.

Please note that comments are not accurate anymore:

_ The compilation module list (line 27) is not sufficient (missing
externals at load time).
_ Automatic "Content-Type" is not "text/plain", but

These commenting issues are NOT adjusted by the patch.

Received on 2007-08-03