Fixed race due to use of byte slice instead of string
Fixed race due to use of byte slice instead of string

The go routine that is started during interest mode switch was
using the accName (which was a byte slice) instead of account,
which was a string copy of that byte slice. It meant that when
printing the notice, the underlying buffer may have be overwriten
by the readloop.

Changing accName to a string - since we were doing a copy anyway,
better change it at the function param level.

Signed-off-by: Ivan Kozlovic <a15f8b81a160b4eebe5c84e9e3b65c87b9b2f18e@synadia.com>

wallyqs/gnatsd,wallyqs/gnatsd