aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-08 14:13:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-08 14:13:50 +0000
commitd3454ceb94506010dcc4a069b67ff8e6bbc272cb (patch)
tree68fdcf14e15a6fae6f6f573ed20f594780a24ff5
parent59695c05b1cf704abc92f30f53e60dae367f031d (diff)
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.
-rw-r--r--include/curl/curl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index ee10ce4a4..928e6aaec 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),