From 76e8e1cbb011123994168dfffa3fc6eaf57ae8a1 Mon Sep 17 00:00:00 2001 From: Andrew Duffell Date: Sat, 4 Jan 2003 18:51:41 +0000 Subject: [project @ 2003-01-04 18:51:41 by andrew] User-agent changed so that it works with NetSurf website. svn path=/import/netsurf/; revision=83 --- desktop/fetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/fetch.c b/desktop/fetch.c index 1b474868e..f6721ade3 100644 --- a/desktop/fetch.c +++ b/desktop/fetch.c @@ -1,5 +1,5 @@ /** - * $Id: fetch.c,v 1.5 2002/12/25 21:38:45 bursa Exp $ + * $Id: fetch.c,v 1.6 2003/01/04 18:51:41 andrew Exp $ */ #include "libxml/HTMLparser.h" @@ -173,7 +173,7 @@ struct fetch* fetch_poll(struct fetch* f) curl_easy_setopt(curl, CURLOPT_URL, f->location); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, fetch_curl_data); curl_easy_setopt(curl, CURLOPT_WRITEDATA, f); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "NetSurf"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "NetSurf/0.00 (alpha)"); Log("fetch_poll","about to perform"); curl_easy_perform(curl); Log("fetch_poll","about to cleanup"); -- cgit v1.2.3