summaryrefslogtreecommitdiff
path: root/src/raptor_www_libfetch.c
diff options
context:
space:
mode:
authorLauri Aalto <laalto@iki.fi>2008-09-23 13:49:15 +0000
committerLauri Aalto <laalto@iki.fi>2008-09-23 13:49:15 +0000
commitf751294503b3a9bd0edf705704b572243ac2fd8b (patch)
tree20fcacf84c075f0ef47e73d8c2b0032a84a0218c /src/raptor_www_libfetch.c
parenta219a175cd9777e4a1c0ee89d4e202afd9e3223d (diff)
downloadraptor-f751294503b3a9bd0edf705704b572243ac2fd8b.tar.gz
Refactored raptor_www_lib{fetch,xml} internals to use v2 raptor_world APIs.
Diffstat (limited to 'src/raptor_www_libfetch.c')
-rw-r--r--src/raptor_www_libfetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_www_libfetch.c b/src/raptor_www_libfetch.c
index 27a471ec..0f5c749a 100644
--- a/src/raptor_www_libfetch.c
+++ b/src/raptor_www_libfetch.c
@@ -72,7 +72,7 @@ raptor_www_libfetch_fetch(raptor_www *www)
if(www->user_agent)
setenv("HTTP_USER_AGENT", www->user_agent, 0);
- stream=fetchXGetURL((const char*)raptor_uri_as_string(www->uri), NULL, NULL);
+ stream=fetchXGetURL((const char*)raptor_uri_as_string_v2(www->world, www->uri), NULL, NULL);
if(!stream) {
www->failed=1;
raptor_www_error(www, "%s", fetchLastErrString);