From 047569339406f2be1637ae4cee5dd0c9a9c2328f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 22 Jan 2014 23:19:57 +0000 Subject: create table for fetcher operations and move all operations into it --- desktop/save_complete.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/save_complete.c') diff --git a/desktop/save_complete.c b/desktop/save_complete.c index bd2ed4dea..da87a65fe 100644 --- a/desktop/save_complete.c +++ b/desktop/save_complete.c @@ -148,7 +148,7 @@ static bool save_complete_save_buffer(save_complete_ctx *ctx, char fullpath[PATH_MAX]; strncpy(fullpath, ctx->path, sizeof fullpath); - error = guit->browser->path_add_part(fullpath, sizeof fullpath, leafname); + error = guit->fetch->path_add_part(fullpath, sizeof fullpath, leafname); if (error == false) { warn_user("NoMemory", NULL); return false; @@ -1049,7 +1049,7 @@ static bool save_complete_save_html_document(save_complete_ctx *ctx, else snprintf(filename, sizeof filename, "%p", c); - error = guit->browser->path_add_part(fullpath, sizeof fullpath, filename); + error = guit->fetch->path_add_part(fullpath, sizeof fullpath, filename); if (error == false) { warn_user("NoMemory", NULL); return false; @@ -1126,7 +1126,7 @@ static bool save_complete_inventory(save_complete_ctx *ctx) char fullpath[PATH_MAX]; strncpy(fullpath, ctx->path, sizeof fullpath); - error = guit->browser->path_add_part(fullpath, sizeof fullpath, "Inventory"); + error = guit->fetch->path_add_part(fullpath, sizeof fullpath, "Inventory"); if (error == false) { warn_user("NoMemory", NULL); return false; -- cgit v1.2.3