changeset 2568:92f6d0503c04

- Print the EOF status in _feof()
author Ralf Ertzinger <ralf@skytale.net>
date Fri, 16 May 2008 14:43:59 +0200
parents a9d6ce7b8c68
children 049f212e7e00
files src/neon/neon.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/neon.c	Wed May 14 23:39:07 2008 +0200
+++ b/src/neon/neon.c	Fri May 16 14:43:59 2008 +0200
@@ -1021,7 +1021,7 @@
                 }
                 h->reader_status.status = NEON_READER_RUN;
             } else {
-                _DEBUG("<%p> No reader thread needed (stream has reached EOF during fill", h);
+                _DEBUG("<%p> No reader thread needed (stream has reached EOF during fill)", h);
                 h->reader_status.reading = FALSE;
                 h->reader_status.status = NEON_READER_EOF;
             }
@@ -1230,6 +1230,8 @@
 
     _ENTER;
 
+    _DEBUG("<%p> EOF status: %s", h, h->eof?"TRUE":"FALSE");
+
     _LEAVE h->eof;
 }