From: Daniel Stenberg Date: Tue, 8 Jun 2004 14:13:50 +0000 (+0000) Subject: Kjetil Jacobsen pointed out that the CURLOPT_FILETIME option was wrongly X-Git-Tag: curl-7_12_1~319 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3454ceb94506010dcc4a069b67ff8e6bbc272cb;p=thirdparty%2Fcurl.git Kjetil Jacobsen pointed out that the CURLOPT_FILETIME option was wrongly marked as accepting an objectpoint argument while it actually assumes a long. The comment was also grossly misleading. The man page was and is correct though. --- diff --git a/include/curl/curl.h b/include/curl/curl.h index ee10ce4a4c..928e6aaec1 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -564,9 +564,9 @@ typedef enum { /* Maximum number of http redirects to follow */ CINIT(MAXREDIRS, LONG, 68), - /* Pass a pointer to a time_t to get a possible date of the requested - document! Pass a NULL to shut it off. */ - CINIT(FILETIME, OBJECTPOINT, 69), + /* Pass a long set to 1 to get the date of the requested document (if + possible)! Pass a zero to shut it off. */ + CINIT(FILETIME, LONG, 69), /* This points to a linked list of telnet options */ CINIT(TELNETOPTIONS, OBJECTPOINT, 70),