summaryrefslogtreecommitdiff
path: root/atari/download.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-08 17:54:44 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-08 17:54:44 +0100
commitcd7f1eceea81a69e5b4dcdef90d45aab44f8a11f (patch)
treeaa9ac5ffab173f59b590b39f665356e7127e02bf /atari/download.c
parent096bd47ab0018e7b9c3affd58b6134463e2aaa65 (diff)
downloadnetsurf-cd7f1eceea81a69e5b4dcdef90d45aab44f8a11f.tar.gz
netsurf-cd7f1eceea81a69e5b4dcdef90d45aab44f8a11f.tar.bz2
make download_context_get_url() return an nsurl and adapt callers to cope
Diffstat (limited to 'atari/download.c')
-rwxr-xr-xatari/download.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/atari/download.c b/atari/download.c
index dc4b7278a..ffd9f722d 100755
--- a/atari/download.c
+++ b/atari/download.c
@@ -34,7 +34,6 @@
#include "desktop/textinput.h"
#include "desktop/download.h"
#include "render/html.h"
-#include "utils/url.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
@@ -251,7 +250,6 @@ gui_download_window_create(download_context *ctx, struct gui_window *parent)
const char *filename;
char *destination;
char gdos_path[PATH_MAX];
- const char * url;
struct gui_download_window * gdw;
int dlgres = 0;
OBJECT * tree = gemtk_obj_get_tree(DOWNLOAD);
@@ -306,7 +304,6 @@ gui_download_window_create(download_context *ctx, struct gui_window *parent)
gdw->size_total = download_context_get_total_length(ctx);
gdw->destination = destination;
gdw->tree = tree;
- url = download_context_get_url(ctx);
gdw->fd = fopen(gdw->destination, "wb");
if( gdw->fd == NULL ){