]> granicus.if.org Git - curl/commitdiff
Kjetil Jacobsen pointed out that the CURLOPT_FILETIME option was wrongly
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2004 14:13:50 +0000 (14:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2004 14:13:50 +0000 (14:13 +0000)
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.

include/curl/curl.h

index ee10ce4a4c776813d3ce1f2e971caf75b215ed07..928e6aaec184b2c769312723165172bc722251e8 100644 (file)
@@ -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),