summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-03 11:50:35 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-03 11:50:35 +0100
commit714fa685ee2f704a9d1945a7b0b1fa73bfe6ff55 (patch)
tree9aff68b86d6f9e2844650b673b9dbf1ce7f63b3d
parentb30717125714e989f8aa1528e19940a4ddb4dc9a (diff)
Correct an error string.
-rw-r--r--lib/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/packet.c b/lib/packet.c
index 9527012..ea1a07f 100644
--- a/lib/packet.c
+++ b/lib/packet.c
@@ -452,7 +452,7 @@ _set_timeout (struct rs_connection *conn)
conn->tev = evtimer_new (conn->evb, _conn_timeout_cb, conn);
if (!conn->tev)
return rs_err_conn_push_fl (conn, RSE_EVENT, __FILE__, __LINE__,
- "event_new");
+ "evtimer_new");
tv.tv_sec = conn->realm->timeout;
tv.tv_usec = 0;
evtimer_add (conn->tev, &tv);