summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAndrew Duffell <andrew@shadowfusion.co.uk>2003-01-04 18:51:41 +0000
committerAndrew Duffell <andrew@shadowfusion.co.uk>2003-01-04 18:51:41 +0000
commit76e8e1cbb011123994168dfffa3fc6eaf57ae8a1 (patch)
treed6fa59757d18195ffb16cb3a91cf5d6cad2b59dc /desktop
parenta44505817640bae4586eaeef6c842ff8cc5bf8f1 (diff)
downloadnetsurf-76e8e1cbb011123994168dfffa3fc6eaf57ae8a1.tar.gz
netsurf-76e8e1cbb011123994168dfffa3fc6eaf57ae8a1.tar.bz2
[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
Diffstat (limited to 'desktop')
-rw-r--r--desktop/fetch.c4
1 files 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");