changeset 742:2804b98b09b9 trunk

[svn] - fix icecast2, i think.
author nenolod
date Tue, 27 Feb 2007 05:43:10 -0800
parents 775c18c4c907
children 6ec1a12cbf0c
files ChangeLog src/curl/curl.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 27 05:40:42 2007 -0800
+++ b/ChangeLog	Tue Feb 27 05:43:10 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-27 13:40:42 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1580]
+  - add metadata key "content-length", which allows for getting a content length.
+  
+  trunk/src/curl/curl.c |    2 ++
+  1 file changed, 2 insertions(+)
+
+
 2007-02-27 12:29:52 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1578]
   - some ringbuffering issues could cause crashing. a final review has 
--- a/src/curl/curl.c	Tue Feb 27 05:40:42 2007 -0800
+++ b/src/curl/curl.c	Tue Feb 27 05:43:10 2007 -0800
@@ -814,7 +814,7 @@
 	}
     }
 
-  if (whence == SEEK_END && handle->length < 0)
+  if (whence == SEEK_END && handle->length <= 0)
     {
       if (DEBUG_SEEK)
 	g_print("Tried to seek to the end of a file with unknown length\n");