diff src/neon/neon.c @ 2647:5808b64d3f68

branch merge
author Paula Stanciu <paula.stanciu@gmail.com>
date Sun, 25 May 2008 21:29:48 +0300
parents 887b2c5a1fbb
children 01ce6cb72e43
line wrap: on
line diff
--- a/src/neon/neon.c	Sun May 25 21:29:07 2008 +0300
+++ b/src/neon/neon.c	Sun May 25 21:29:48 2008 +0300
@@ -1300,7 +1300,7 @@
 	_LEAVE -1;
     }
 
-    if (newpos > content_length) {
+    if (newpos >= content_length) {
         _ERROR("<%p> Can not seek beyond end of stream", h);
         _LEAVE -1;
     }