Code

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 b0ca1ace1bb6ee144ebab091b2fdece98e66fc97..c40c129a20e3e9891bfb0fe3cfb5411e105cf92d 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++)
   {