tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit bf06d4818e02fde075fbb2748afc06b37c6ba376
parent 5413e1a25d4831ded3096d8f379a9b1cfd5676ab
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 27 Oct 2018 10:52:06 +0200

Don't append a newline to redis' pubsub channel.

Diffstat:
Mpkg/damlib/redis.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/damlib/redis.go b/pkg/damlib/redis.go @@ -53,7 +53,7 @@ func PublishToRedis(address string) { username = address onion = address - pubstr = fmt.Sprintf("%s|%s|%s|%s\n", timestamp, username, modtype, onion) + pubstr = fmt.Sprintf("%s|%s|%s|%s", timestamp, username, modtype, onion) RedisCli.Publish(PubSubChan, pubstr) }