changeset 483:1b48e9ce21e1 trunk

[svn] Set file->base
author hansmi
date Sun, 21 Jan 2007 03:56:43 -0800
parents 416d9e2d075e
children e2b9f92657d1
files ChangeLog src/curl/curl.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 21 03:53:28 2007 -0800
+++ b/ChangeLog	Sun Jan 21 03:56:43 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-21 11:53:28 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1050]
+  - fix a logic error
+  
+  trunk/src/curl/curl.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-01-21 11:52:04 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1048]
   - use VFSVorbisFile class for tuple builder
--- a/src/curl/curl.c	Sun Jan 21 03:53:28 2007 -0800
+++ b/src/curl/curl.c	Sun Jan 21 03:56:43 2007 -0800
@@ -68,6 +68,8 @@
   gchar *title;
 };
 
+VFSConstructor curl_const;
+
 /* TODO:
  *  - Fix hang if the server closes the connection in the middle
  *  - Clever buffer stuff when you read a bit of the beginning and a bit of the
@@ -495,6 +497,7 @@
   }
 
   file->handle = handle;
+  file->base = &curl_const;
 
   if (DEBUG_OPEN_CLOSE)
     g_print("Open %s with curl => %p\n", url, handle);