summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-17 10:44:11 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-17 10:44:11 +0200
commitb920acc2f69c099e8b9f1e97001f03b42d4c97c7 (patch)
tree9d1818db510ac896a7224da1392517d054737930 /lib
parentb31211c1c1454b3ab8720a4a7417983f4b859463 (diff)
Don't provide bogus info in an error.
Diffstat (limited to 'lib')
-rw-r--r--lib/event.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/event.c b/lib/event.c
index 802c0b9..c625850 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -222,9 +222,7 @@ event_loopbreak (struct rs_connection *conn)
{
int err = event_base_loopbreak (conn->evb);
if (err < 0)
- rs_err_conn_push_fl (conn, RSE_EVENT, __FILE__, __LINE__,
- "event_base_loopbreak: %s",
- evutil_gai_strerror (err));
+ rs_err_conn_push (conn, RSE_EVENT, "event_base_loopbreak");
return err;
}