From e4ffcd00bdbe6d66d419e2f364a0d2dd317202b5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 11 Jul 2010 15:12:17 +0200 Subject: [PATCH] Code cleanup: don't reset penalty time on DNS resolver result See commit d4632a727fbee6: it's not necessary any more! --- src/ngircd/conn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 4df1e9e4..9da618f1 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -2049,8 +2049,6 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events ) #ifdef DEBUG else Log( LOG_DEBUG, "Resolver: discarding result for already registered connection %d.", i ); #endif - /* Reset penalty time */ - Conn_ResetPenalty( i ); } /* cb_Read_Resolver_Result */