From 0bc5d2ca4cee4e6ace987d424098d643e40f1ca1 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 16 Apr 2016 23:27:38 +0100 Subject: create date and time to seconds since epoch processing utility function currently NetSurf uses curl_getdate to convert textural date and time strings into seconds since epoch. It is betetr to move this functionality to a utility function so curl_getdate can easily be replaced if required. --- desktop/gui_fetch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/gui_fetch.h b/desktop/gui_fetch.h index 20db39d20..22c5e6a2e 100644 --- a/desktop/gui_fetch.h +++ b/desktop/gui_fetch.h @@ -91,8 +91,8 @@ struct gui_fetch_table { /** * Find a MIME type for a local file * - * @note only used in curl fetcher on RISC OS otherwise its a - * strdup of filetype. + * @note only used in curl fetcher in form file controls on + * RISC OS otherwise its a strdup of a filetype call. * * \param ro_path RISC OS style path to file on disk * \return MIME type string (on heap, caller should free), or NULL -- cgit v1.2.3