From 7c63f5f66bde003c2e661f2914b74872cb5a5b8b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 4 Nov 2019 23:39:13 +0000 Subject: improve error returns throughout complete save and remove user warnings --- desktop/save_complete.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop/save_complete.h') diff --git a/desktop/save_complete.h b/desktop/save_complete.h index f7f250767..7df89f0b5 100644 --- a/desktop/save_complete.h +++ b/desktop/save_complete.h @@ -21,8 +21,8 @@ * Save HTML document with dependencies (interface). */ -#ifndef _NETSURF_DESKTOP_SAVE_COMPLETE_H_ -#define _NETSURF_DESKTOP_SAVE_COMPLETE_H_ +#ifndef NETSURF_DESKTOP_SAVE_COMPLETE_H_ +#define NETSURF_DESKTOP_SAVE_COMPLETE_H_ #include @@ -56,9 +56,9 @@ nserror save_complete_finalise(void); * \param c CONTENT_HTML to save * \param path Native path to directory to save in to (must exist) * \param set_type Callback to set type of a file, or NULL - * \return true on success, false on error and error reported + * \return NSERROR_OK on success else error code */ -bool save_complete(struct hlcache_handle *c, const char *path, +nserror save_complete(struct hlcache_handle *c, const char *path, save_complete_set_type_cb set_type); #endif -- cgit v1.2.3