diff src/curl/curl.c @ 742:2804b98b09b9 trunk

[svn] - fix icecast2, i think.
author nenolod
date Tue, 27 Feb 2007 05:43:10 -0800
parents 775c18c4c907
children 135c5f03ef8e
line wrap: on
line diff
--- 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");