From 1be20a1bfead07dc3ed7984b93540e449d1c00ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 8 Oct 2015 14:05:57 +0200
Subject: [PATCH] Inotify: Removed some debug output.

---
 src/modules/Inotify/inotify.cmod | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/modules/Inotify/inotify.cmod b/src/modules/Inotify/inotify.cmod
index 9a97887c9e..ead55d47f4 100644
--- a/src/modules/Inotify/inotify.cmod
+++ b/src/modules/Inotify/inotify.cmod
@@ -381,8 +381,6 @@ PIKECLASS _Instance {
 	    } while ((bytes == -1) && (errno == EINTR));
 	    if (bytes > 0) {
 	      THIS->buf.s->len += bytes;
-	      fprintf(stderr, "poll: Got %d bytes of inotify data.\n",
-		      (int)bytes);
 	    }
 	    while (THIS->buf.s->len >=
 		   (off + (ptrdiff_t)sizeof(struct inotify_event))) {
@@ -414,8 +412,6 @@ PIKECLASS _Instance {
 	    memmove(THIS->buf.s->str, THIS->buf.s->str + off,
 		    THIS->buf.s->len);
 	}
-	fprintf(stderr, "poll: %d bytes left in buffer.\n",
-		(int)THIS->buf.s->len);
     }
 
     static int got_inotify_event(struct fd_callback_box *box, int UNUSED(event))
-- 
GitLab