changeset 1970:e54d72373503

- Be a bit more verbose about network errors
author Ralf Ertzinger <ralf@skytale.net>
date Wed, 03 Oct 2007 15:35:56 +0200
parents a1ed9f7cb4cc
children 4ead92d8e6c3
files src/neon/neon.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/neon.c	Mon Oct 01 10:39:03 2007 +0200
+++ b/src/neon/neon.c	Wed Oct 03 15:35:56 2007 +0200
@@ -724,7 +724,7 @@
                  * Set the error flag and terminate the
                  * reader thread.
                  */
-                _DEBUG("Error while reading from the network. Terminating reader thread");
+                _ERROR("Error while reading from the network. Terminating reader thread");
                 h->reader_status.status = NEON_READER_ERROR;
                 g_mutex_unlock(h->reader_status.mutex);
                 _LEAVE NULL;
@@ -889,6 +889,7 @@
                 /*
                  * Reader thread did not terminate gracefully.
                  */
+                _ERROR("Reader thread did not terminate gracefully: %d", h->reader_status.status);
                 _LEAVE 0;
             }
         } else {