From 01ff1b76c158369f214849a40e1c17bcb90bdabd Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Wed, 28 Apr 2021 19:32:16 -0600 Subject: [PATCH] Fixed comments Signed-off-by: Ivan Kozlovic --- server/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/client.go b/server/client.go index 4adda8e9..9456f196 100644 --- a/server/client.go +++ b/server/client.go @@ -4114,9 +4114,9 @@ func (c *client) processMsgResults(acc *Account, r *SublistResult, msg, deliver, for i := 0; i < len(qsubs); i++ { sub = qsubs[i] if sub.client.kind == LEAF || sub.client.kind == ROUTER { - // If we have assigned an rsub already, replace if the destination is LEAF + // If we have assigned an rsub already, replace if the destination is a LEAF // since we want to favor that compared to a ROUTER. We could make sure that - // we override only if previous was a ROUTER and not a LEAF, but we don't have to. + // we override only if previous was a ROUTE and not a LEAF, but we don't have to. if rsub == nil || sub.client.kind == LEAF { rsub = sub }