summaryrefslogtreecommitdiff
path: root/debian/patches/silence-errors.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/silence-errors.diff')
-rw-r--r--debian/patches/silence-errors.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/silence-errors.diff b/debian/patches/silence-errors.diff
new file mode 100644
index 0000000..6aee975
--- /dev/null
+++ b/debian/patches/silence-errors.diff
@@ -0,0 +1,14 @@
+Index: trunk/src/connections.c
+===================================================================
+--- trunk.orig/src/connections.c 2010-11-08 18:06:48.000000000 +0100
++++ trunk/src/connections.c 2010-11-08 18:07:59.000000000 +0100
+@@ -1224,7 +1224,8 @@
+
+ }
+ } else if (revents & FDEVENT_ERR) {
+-#ifndef USE_LINUX_SIGIO
++ /* error, connection reset, whatever... we don't want to spam the logfile */
++#ifndef 0
+ log_error_write(srv, __FILE__, __LINE__, "sd",
+ "connection closed: poll() -> ERR", con->fd);
+ #endif