Ivan Kozlovic
37f4e71246
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 <ivan@synadia.com >
2019-05-30 18:43:01 -06:00
..
2019-05-26 17:51:01 -06:00
2019-05-06 15:41:38 -07:00
2019-04-23 17:13:23 -07:00
2019-05-30 14:30:35 -07:00
2018-08-22 20:41:48 -07:00
2019-05-30 14:30:35 -07:00
2018-09-06 19:00:44 -07:00
2019-05-30 14:30:35 -07:00
2019-05-30 09:15:20 -07:00
2019-05-10 15:11:30 -07:00
2019-01-09 14:14:47 -07:00
2019-05-28 16:17:25 -07:00
2019-03-25 08:54:47 -07:00
2019-05-29 14:28:26 -06:00
2019-05-29 14:28:26 -06:00
2019-05-30 17:21:15 -06:00
2019-05-30 18:43:01 -06:00
2019-05-30 14:30:35 -07:00
2018-12-05 14:25:40 -08:00
2019-05-06 15:15:11 -07:00
2019-05-30 15:53:14 -07:00
2019-05-06 15:04:24 -07:00
2019-05-06 15:04:24 -07:00
2019-05-06 15:41:38 -07:00
2019-05-28 12:41:09 -06:00
2019-05-28 12:41:09 -06:00
2019-05-06 15:04:24 -07:00
2018-12-06 15:09:14 -08:00
2019-05-28 12:41:09 -06:00
2019-05-30 16:25:37 -06:00
2019-05-30 16:25:37 -06:00
2019-02-04 17:07:49 -08:00
2019-05-22 12:31:16 -06:00
2019-05-10 15:11:30 -07:00
2019-05-29 13:19:58 -07:00
2019-05-29 14:00:51 -07:00
2018-10-06 14:06:14 -07:00
2018-10-06 14:04:14 -07:00
2019-05-28 16:17:25 -07:00
2019-05-20 10:13:56 -06:00
2019-05-30 15:53:14 -07:00
2019-05-30 14:30:35 -07:00
2018-03-15 22:31:07 -07:00
2019-05-06 15:04:24 -07:00
2018-03-15 22:31:07 -07:00
2019-05-06 15:04:24 -07:00
2019-05-06 15:04:24 -07:00
2019-05-06 15:04:24 -07:00
2019-04-23 17:13:23 -07:00
2019-04-22 17:53:14 -07:00
2019-05-06 15:41:38 -07:00
2018-12-02 20:34:33 -08:00
2019-01-18 10:54:04 +08:00
2019-05-26 17:51:01 -06:00