src/utils_logtail.c: Added another error message.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 23 Feb 2008 18:25:27 +0000 (19:25 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 23 Feb 2008 18:25:27 +0000 (19:25 +0100)
src/utils_logtail.c

index b0ca1ac..c40c129 100644 (file)
@@ -231,7 +231,10 @@ int logtail_read (cu_logtail_t *obj)
   status = cu_tail_read (obj->tail, buffer, sizeof (buffer), tail_callback,
       (void *) obj);
   if (status != 0)
+  {
+    ERROR ("logtail: cu_tail_read failed.");
     return (status);
+  }
 
   for (i = 0; i < obj->matches_num; i++)
   {