From 5c310d84dc6153b62e33d5aa28a1f75e2e776ea6 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 29 Aug 2003 12:57:14 +0000 Subject: [project @ 2003-08-29 12:57:14 by bursa] Better handling of server HTTP errors. svn path=/import/netsurf/; revision=259 --- debug/netsurfd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/netsurfd.c b/debug/netsurfd.c index 4d21a5495..d9f14d026 100644 --- a/debug/netsurfd.c +++ b/debug/netsurfd.c @@ -5,6 +5,7 @@ * Copyright 2003 James Bursa */ +#include #include #include "netsurf/content/fetch.h" #include "netsurf/content/cache.h" @@ -41,7 +42,7 @@ int main(int argc, char *argv[]) while (1) { puts("=== URL:"); gets(url); - c = fetchcache(url, 0, callback, 0, 0, 100, 1000); + c = fetchcache(url, 0, callback, 0, 0, 100, 1000, false); if (c) { done = c->status == CONTENT_STATUS_DONE; while (!done) -- cgit v1.2.3