diff options
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 46f36f921..cd9f37f69 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1205,11 +1205,10 @@ CURL_EXTERN void curl_slist_free_all(struct curl_slist *); * DESCRIPTION * * Returns the time, in seconds since 1 Jan 1970 of the time string given in - * the first argument. The time argument in the second parameter is for cases - * where the specified time is relative now, like 'two weeks' or 'tomorrow' - * etc. + * the first argument. The time argument in the second parameter is unused + * and should be set to NULL. */ -CURL_EXTERN time_t curl_getdate(const char *p, const time_t *now); +CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); #define CURLINFO_STRING 0x100000 #define CURLINFO_LONG 0x200000 |