# HG changeset patch # User nenolod # Date 1172583790 28800 # Node ID 2804b98b09b9e46cf0ab242d6896a4db393af2db # Parent 775c18c4c90780c608944ea4b6c2ec1dd5d870c5 [svn] - fix icecast2, i think. diff -r 775c18c4c907 -r 2804b98b09b9 ChangeLog --- 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 + 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 revision [1578] - some ringbuffering issues could cause crashing. a final review has diff -r 775c18c4c907 -r 2804b98b09b9 src/curl/curl.c --- 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");