From c99dcbf8ac84ce40d36016ab0accaf398ef1c902 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 10 Jun 2002 20:55:52 +0000 Subject: [PATCH] The SILC_OPER_STATS_UPDATE macro now also removes the mode from the entry. --- apps/silcd/server_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/silcd/server_internal.h b/apps/silcd/server_internal.h index 56a4a52a..7e773c86 100644 --- a/apps/silcd/server_internal.h +++ b/apps/silcd/server_internal.h @@ -177,6 +177,7 @@ do { \ server->stat.my_ ## type ## _ops--; \ if (server->server_type == SILC_ROUTER) \ server->stat. type ## _ops--; \ + (c)->mode &= ~(mod); \ } \ } while(0) -- 2.43.0