From 31861cf222939ca26578010d5bbda61c8e2cd238 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 25 Sep 2007 22:44:41 +0000 Subject: removed nasty timeout message --- src/engine/network.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/network.c b/src/engine/network.c index 7f54fc23..c5f99a52 100644 --- a/src/engine/network.c +++ b/src/engine/network.c @@ -477,9 +477,7 @@ static int conn_update(NETCONNECTION *conn) (now-conn->last_recv_time) > time_freq()*10) { conn->state = NETWORK_CONNSTATE_ERROR; - char buf[128]; - sprintf(buf, "timeout %lld %lld %lld %lld", now-conn->last_recv_time, now, conn->last_recv_time, time_freq()*10); - conn_set_error(conn, buf); + conn_set_error(conn, "timeout"); } /* check for large buffer errors */ -- cgit 1.4.1